Deactivates contractor with the specified identifier.
POST http:///api/v2/business/{businessId}/contractor/{contractorId}/deactivate
| Parameter name | Value | Description | Additional |
|---|---|---|---|
| contractorId | int32 | Required | |
| businessId | string | Required |
The request body takes a complete DeactivateContractorModel resource, containing the following writable properties:
{
"endDate": "date-time"
}
| Name | Type | Description |
|---|---|---|
| endDate | date-time | DateTime |
The following HTTP status codes may be returned, optionally with a response resource.
| Status code | Description | Resource |
|---|---|---|
| 200 | OK OK |
|
| 400 | Bad Request Bad Request |
ProblemDetails |
| 404 | Not Found Not Found |
ProblemDetails |
Powered by DapperDox