POST api/CustomerInspections/PostInspectionItem
Request Information
URI Parameters
None.
Body Parameters
CustomerInspectionItemsDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| CustomerInspectionID | integer |
None. |
|
| Name | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"CustomerInspectionID": 2,
"Name": "sample string 3"
}
application/xml, text/xml
Sample:
<CustomerInspectionItemsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO"> <CustomerInspectionID>2</CustomerInspectionID> <ID>1</ID> <Name>sample string 3</Name> </CustomerInspectionItemsDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CustomerInspectionItemsDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| CustomerInspectionID | integer |
None. |
|
| Name | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"CustomerInspectionID": 2,
"Name": "sample string 3"
}
application/xml, text/xml
Sample:
<CustomerInspectionItemsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO"> <CustomerInspectionID>2</CustomerInspectionID> <ID>1</ID> <Name>sample string 3</Name> </CustomerInspectionItemsDTO>