POST api/Part/GetSerialNumberHistory2

Gets the serial number history given a requistion number and a requisition line number.

Exceptions

ExceptionCondition
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
NameDescriptionTypeAdditional 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

Sample:
{
  "CombinedRequistionID": "sample string 1",
  "CombinedActivityId": "sample string 2",
  "TicketId": "sample string 3",
  "Culture": "sample string 4"
}

application/xml, text/xml

Sample:
<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

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RequisitionArgumentModel'.

Response Information

Resource Description

SerialNumberHistoryModel
NameDescriptionTypeAdditional 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

Sample:
{
  "SerialNumberHistory": [
    {},
    {}
  ],
  "CombinedPerformanceId": "sample string 1"
}

application/xml, text/xml

Sample:
<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>