PUT api/Order/{id}/Vacancy/Cancel
Delete a Vacancy
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
Body Parameters
VacancyDTOName | Description | Type | Additional information |
---|---|---|---|
clientAgencyId | string |
None. |
|
orderLineItemId | string |
None. |
|
orderId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "clientAgencyId": "sample string 1", "orderLineItemId": "sample string 2", "orderId": "sample string 3" }
text/xml
Sample:
<VacancyDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"> <clientAgencyId>sample string 1</clientAgencyId> <orderId>sample string 3</orderId> <orderLineItemId>sample string 2</orderLineItemId> </VacancyDTO>
multipart/form-data
Sample:
<VacancyDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"><clientAgencyId>sample string 1</clientAgencyId><orderId>sample string 3</orderId><orderLineItemId>sample string 2</orderLineItemId></VacancyDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
JsonResponseName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
ErrorMessage | Collection of string |
None. |
|
EntityId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "ErrorMessage": [ "sample string 1", "sample string 2" ], "EntityId": 1, "Success": true }
text/xml
Sample:
<JsonResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models"> <EntityId>1</EntityId> <ErrorMessage xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ErrorMessage> <Success>true</Success> </JsonResponse>
multipart/form-data
Sample:
<JsonResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models"><EntityId>1</EntityId><ErrorMessage xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d2p1:string>sample string 1</d2p1:string><d2p1:string>sample string 2</d2p1:string></ErrorMessage><Success>true</Success></JsonResponse>