POST api/Part/GetSerialNumberHistory2
Gets the serial number history given a requistion number and a requisition line number.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException |
Thrown if some of the required arguments like TicketId or the combined requisition number is null. |
| ArgumentOutOfRangeHttpResponseException |
Thrown if either the requistion number or the requisition line number is not an integer. |
Request Information
URI Parameters
None.
Body Parameters
Specify which Activity Number, requisition number and line number. All with combined id's.
RequisitionArgumentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CombinedRequistionID |
Gets or sets the criteria. |
string |
None. |
| CombinedActivityId | string |
None. |
|
| TicketId |
Gets or sets the ticket id |
string |
None. |
| Culture |
Gets or sets culture, if not specified we will use culture set on user. |
string |
None. |
Request Formats
application/json, text/json
{
"CombinedRequistionID": "sample string 1",
"CombinedActivityId": "sample string 2",
"TicketId": "sample string 3",
"Culture": "sample string 4"
}
application/xml, text/xml
<PartController.RequisitionArgumentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rostov.Controllers">
<Culture xmlns="http://schemas.datacontract.org/2004/07/Rostov.Models">sample string 4</Culture>
<TicketId xmlns="http://schemas.datacontract.org/2004/07/Rostov.Models">sample string 3</TicketId>
<CombinedActivityId>sample string 2</CombinedActivityId>
<CombinedRequistionID>sample string 1</CombinedRequistionID>
</PartController.RequisitionArgumentModel>
application/x-www-form-urlencoded
Response Information
Resource Description
SerialNumberHistoryModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SerialNumberHistory |
Gets the list of serial number history returned from the search |
Collection of Object |
None. |
| CombinedPerformanceId |
Gets or sets the performance id. If performance monitoring is not turned on this property will not be present or set to null |
string |
Json null value handling: Ignore |
Response Formats
application/json, text/json
{
"SerialNumberHistory": [
{},
{}
],
"CombinedPerformanceId": "sample string 1"
}
application/xml, text/xml
<PartController.SerialNumberHistoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rostov.Controllers">
<CombinedPerformanceId xmlns="http://schemas.datacontract.org/2004/07/Rostov.Models">sample string 1</CombinedPerformanceId>
<SerialNumberHistory xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:anyType />
<d2p1:anyType />
</SerialNumberHistory>
</PartController.SerialNumberHistoryModel>