POST api/people/{id}/updateservicetypes
Update the service types by PersonId This cannot be used internally as they do not have the right to move status up to to approved Only the client does
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
Collection of Dezrez.Core.DataContracts.External.Api.People.Command.AddContactItem.ServiceTypeUpdateCommandDataContractName | Description | Type | Additional information |
---|---|---|---|
ServiceType | Dezrez.Core.DataContracts.External.Api.System.EnumDataContract |
None. |
|
ServiceStatusType | Dezrez.Core.DataContracts.External.Api.System.EnumDataContract |
None. |
|
Referral | boolean |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
[ { "ServiceType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "ServiceStatusType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Referral": true }, { "ServiceType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "ServiceStatusType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Referral": true } ]
Response Information
Resource Description
The redaction status of a person
System.Net.Http.HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | System.Version |
None. |
|
Content | System.Net.Http.HttpContent |
None. |
|
StatusCode | System.Net.HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |