POST api/ServiceOrder
Request Information
URI Parameters
None.
Body Parameters
CreateServiceOrderResource| Name | Description | Type | Additional information |
|---|---|---|---|
| IdCustomer | integer |
Required |
|
| IdEquipmentType | integer |
None. |
|
| IdModel | integer |
None. |
|
| IdService | integer |
Required |
|
| IdServiceProvider | integer |
None. |
|
| IdTechnician | integer |
None. |
|
| Comments | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdCustomer": 1,
"IdEquipmentType": 1,
"IdModel": 1,
"IdService": 2,
"IdServiceProvider": 1,
"IdTechnician": 1,
"Comments": "sample string 3"
}
application/xml, text/xml
Sample:
<CreateServiceOrderResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WkfGenericAPI.Models.Payloads.ServiceOrder"> <Comments>sample string 3</Comments> <IdCustomer>1</IdCustomer> <IdEquipmentType>1</IdEquipmentType> <IdModel>1</IdModel> <IdService>2</IdService> <IdServiceProvider>1</IdServiceProvider> <IdTechnician>1</IdTechnician> </CreateServiceOrderResource>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |