GET v1/Inventory/ValidateOrderNumber?itemId={itemId}&orderNumber={orderNumber}

Validates the order number for a specific item.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
itemId

The unique identifier of the item.

integer

Required

orderNumber

The order number to validate.

string

Required

Body Parameters

None.

Response Information

Resource Description

A containing: - with a list of if the order number is valid. - if there is an error in the request or validation. - if the order number is not found. - if an exception occurs.

Collection of OrderDTO
NameDescriptionTypeAdditional information
OrderID

integer

None.

OrderNumber

string

None.

ProjectName

string

None.

DropDate

date

None.

CloseDate

date

None.

CustomerName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "OrderID": 1,
    "OrderNumber": "sample string 2",
    "ProjectName": "sample string 3",
    "DropDate": "2025-07-01T03:54:26.6738079+00:00",
    "CloseDate": "2025-07-01T03:54:26.6738079+00:00",
    "CustomerName": "sample string 4"
  },
  {
    "OrderID": 1,
    "OrderNumber": "sample string 2",
    "ProjectName": "sample string 3",
    "DropDate": "2025-07-01T03:54:26.6738079+00:00",
    "CloseDate": "2025-07-01T03:54:26.6738079+00:00",
    "CustomerName": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfOrderDTO xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <OrderDTO>
    <OrderID>1</OrderID>
    <OrderNumber>sample string 2</OrderNumber>
    <ProjectName>sample string 3</ProjectName>
    <DropDate>2025-07-01T03:54:26.6738079+00:00</DropDate>
    <CloseDate>2025-07-01T03:54:26.6738079+00:00</CloseDate>
    <CustomerName>sample string 4</CustomerName>
  </OrderDTO>
  <OrderDTO>
    <OrderID>1</OrderID>
    <OrderNumber>sample string 2</OrderNumber>
    <ProjectName>sample string 3</ProjectName>
    <DropDate>2025-07-01T03:54:26.6738079+00:00</DropDate>
    <CloseDate>2025-07-01T03:54:26.6738079+00:00</CloseDate>
    <CustomerName>sample string 4</CustomerName>
  </OrderDTO>
</ArrayOfOrderDTO>