POST v2/cases/{caseId}/parts/{partNumber}
add a part to a service case
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
caseId |
Id of service case |
integer |
Required |
partNumber |
partnumber of part |
string |
Required |
Body Parameters
additional info - quantity (default 1), stockGroundId (default null)
InitPro.Ida.Web.Api.Dto.V2.PartAddInfoDtoName | Description | Type | Additional information |
---|---|---|---|
Quantity |
Quantity |
integer |
None. |
StockGroundId |
StockGroundId |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Quantity": 1, "StockGroundId": 1 }
application/xml, text/xml
Sample:
<PartAddInfoDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InitPro.Ida.Web.Api.Dto.V2"> <Quantity>1</Quantity> <StockGroundId>1</StockGroundId> </PartAddInfoDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.