POST api/mobile/service-requests/{id}/materials
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
MobileAddMaterialRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| SparePartId | integer |
Required |
|
| Quantity | integer |
Range: inclusive between 1 and 2147483647 |
|
| Notes | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SparePartId": 1,
"Quantity": 2,
"Notes": "sample string 3"
}
application/xml, text/xml
Sample:
<MobileAddMaterialRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models"> <Notes>sample string 3</Notes> <Quantity>2</Quantity> <SparePartId>1</SparePartId> </MobileAddMaterialRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.