| POST | /api/4PSBC/ImportContactpersoon |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Header | body | Header | Yes | Message header |
| Data | body | Data_ContactPerson | 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 |
|---|---|---|---|---|
| systemId | form | Guid? | No | |
| digiOfficeId | form | Guid? | No | |
| companyName4ps | form | string | No | |
| no | form | string | No | |
| crmCompanyId | form | Guid | No | |
| crmPersonId | form | Guid | No | |
| jobTitle | form | string | No | |
| phoneNo | form | string | No | |
| mobilePhoneNo | form | string | No | |
| form | string | No | ||
| companyId | form | Guid? | No | |
| blocked | form | bool? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Header | form | Header | Yes | Header of the response |
| Response | form | Response_ContactPerson | Yes | Response body |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Status | form | string | Yes | Reponse status (Ok/Error) |
| Errors | form | string | No | Errors summary |
| DigiOfficeContactPersonID | form | string | Yes | ID of the contactperson in DigiOffice |
| DigiOfficeGlobalID | form | Guid | Yes | GlobalID (digiOfficeId) of the contactperson in DigiOffice |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/4PSBC/ImportContactpersoon HTTP/1.1
Host: test-do-services.klokgroep.nl
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Header:
{
Contains: String,
Date: String,
MessageID: String,
Sender: String
},
Data:
{
systemId: 00000000-0000-0000-0000-000000000000,
digiOfficeId: 00000000-0000-0000-0000-000000000000,
companyName4ps: String,
no: String,
jobTitle: String,
phoneNo: String,
mobilePhoneNo: String,
eMail: String,
companyId: 00000000-0000-0000-0000-000000000000,
blocked: False
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Header:
{
Contains: String,
Date: String,
MessageID: String,
Sender: String
},
Response:
{
Status: String,
Errors: String,
DigiOfficeContactPersonID: String
}
}