| POST | /api/4PSBC/ImportBedrijf |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Header | body | Header | Yes | Message header |
| Data | body | Data_Company | Yes | Message data |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Contains | form | string | No | Inhoud van het bericht |
| Date | form | string | No | Datum aanmaak bericht |
| MessageID | form | string | No | ID voor het bericht |
| Sender | form | string | No | Verzender van het bericht |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| visitAddress | form | string | No | |
| visitAddress2 | form | string | No | |
| vatRegistrationNo | form | string | No | |
| vendorNo | form | string | No | |
| customerNo | form | string | No | |
| form | string | No | ||
| companyName4ps | form | string | No | |
| systemId | form | Guid? | No | |
| digiOfficeId | form | Guid? | No | |
| cocRegistrationNo | form | string | No | |
| cocLocationNo | form | string | No | |
| cocCity | form | string | No | |
| visitAddressCountryRegionId | form | string | No | |
| countryRegionId | form | string | No | |
| countryRegionCodeId | form | string | No | |
| mobilePhoneNo | form | string | No | |
| name | form | string | No | |
| name2 | form | string | No | |
| visitAddressCity | form | string | No | |
| city | form | string | No | |
| address | form | string | No | |
| visitAddressPostCode | form | string | No | |
| postCode | form | string | No | |
| phoneNo | form | string | No | |
| phoneNo2 | form | string | No | |
| homePage | form | string | No | |
| no | form | string | No | |
| companyId | form | Guid? | No | |
| blocked | form | bool? | No | |
| nameAbbreviation | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Header | form | Header | Yes | Header of the response |
| Response | form | Response_Company | Yes | Response body |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Status | form | string | Yes | Reponse status (Ok/Error) |
| Errors | form | string | No | Errors summary |
| DigiOfficeCompanyID | form | string | Yes | ID of the company in DigiOffice |
| DigiOfficeGlobalID | form | Guid | Yes | GlobalID (digiOfficeId) of the company in DigiOffice |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/4PSBC/ImportBedrijf HTTP/1.1
Host: dogw.klokgroep.nl
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Header":{"Contains":"String","Date":"String","MessageID":"String","Sender":"String"},"Data":{"visitAddress":"String","visitAddress2":"String","vatRegistrationNo":"String","vendorNo":"String","customerNo":"String","eMail":"String","companyName4ps":"String","systemId":"00000000-0000-0000-0000-000000000000","digiOfficeId":"00000000-0000-0000-0000-000000000000","cocRegistrationNo":"String","cocLocationNo":"String","cocCity":"String","visitAddressCountryRegionId":"String","countryRegionId":"String","countryRegionCodeId":"String","mobilePhoneNo":"String","name":"String","name2":"String","visitAddressCity":"String","city":"String","address":"String","visitAddressPostCode":"String","postCode":"String","phoneNo":"String","phoneNo2":"String","homePage":"String","no":"String","companyId":"00000000-0000-0000-0000-000000000000","blocked":false,"nameAbbreviation":"String"}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Header":{"Contains":"String","Date":"String","MessageID":"String","Sender":"String"},"Response":{"Status":"String","Errors":"String","DigiOfficeCompanyID":"String","DigiOfficeGlobalID":"00000000-0000-0000-0000-000000000000"}}