POST api/ordWarehouseAlert

Insert a new record into the WarehouseAlerts table.

Request Information

URI Parameters

None.

Body Parameters

ordWarehouseAlertDb
NameDescriptionTypeAdditional information
WarehouseAlertID

integer

None.

OrderID

integer

None.

WarehouseID

integer

None.

InboundFreightLegID

integer

None.

OutboundFreightLegID

integer

None.

WarehouseAlertStatusStep

integer

None.

CompletedDate

date

None.

AlertType

string

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

results

Collection of ValidationResult

None.

Request Formats

application/json, text/json

Sample:
{
  "results": null,
  "WarehouseAlertID": 1,
  "OrderID": 2,
  "WarehouseID": 3,
  "InboundFreightLegID": 1,
  "OutboundFreightLegID": 1,
  "WarehouseAlertStatusStep": 4,
  "CompletedDate": "2025-12-06T23:40:57.7989928+00:00",
  "AlertType": "sample string 5",
  "CreatedBy": 6,
  "CreatedDate": "2025-12-06T23:40:57.7989928+00:00",
  "UpdatedBy": 8,
  "UpdatedDate": "2025-12-06T23:40:57.7989928+00:00"
}

application/xml, text/xml

Sample:
<ordWarehouseAlertDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Models">
  <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
  <AlertType>sample string 5</AlertType>
  <CompletedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:40:57.7989928Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CompletedDate>
  <CreatedBy>6</CreatedBy>
  <CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:40:57.7989928Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreatedDate>
  <InboundFreightLegID>1</InboundFreightLegID>
  <OrderID>2</OrderID>
  <OutboundFreightLegID>1</OutboundFreightLegID>
  <UpdatedBy>8</UpdatedBy>
  <UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:40:57.7989928Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </UpdatedDate>
  <WarehouseAlertID>1</WarehouseAlertID>
  <WarehouseAlertStatusStep>4</WarehouseAlertStatusStep>
  <WarehouseID>3</WarehouseID>
</ordWarehouseAlertDb>

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 'ordWarehouseAlertDb'.

Response Information

Resource Description

UpsertRetOfordWarehouseAlertDb
NameDescriptionTypeAdditional information
returnID

integer

None.

results

Collection of ValidationResult

None.

returnItem

ordWarehouseAlertDb

None.

displayMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "returnID": 1,
  "results": null,
  "returnItem": {
    "results": null,
    "WarehouseAlertID": 1,
    "OrderID": 2,
    "WarehouseID": 3,
    "InboundFreightLegID": 1,
    "OutboundFreightLegID": 1,
    "WarehouseAlertStatusStep": 4,
    "CompletedDate": "2025-12-06T23:40:57.8078275+00:00",
    "AlertType": "sample string 5",
    "CreatedBy": 6,
    "CreatedDate": "2025-12-06T23:40:57.8078275+00:00",
    "UpdatedBy": 8,
    "UpdatedDate": "2025-12-06T23:40:57.8078275+00:00"
  },
  "displayMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<UpsertRetOfordWarehouseAlertDb_S0MPMsnQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility">
  <displayMessage>sample string 1</displayMessage>
  <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" />
  <returnID>1</returnID>
  <returnItem xmlns:d2p1="http://schemas.datacontract.org/2004/07/WebAPI.Data.Models">
    <results xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" />
    <d2p1:AlertType>sample string 5</d2p1:AlertType>
    <d2p1:CompletedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2025-12-06T23:40:57.8078275Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </d2p1:CompletedDate>
    <d2p1:CreatedBy>6</d2p1:CreatedBy>
    <d2p1:CreatedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2025-12-06T23:40:57.8078275Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </d2p1:CreatedDate>
    <d2p1:InboundFreightLegID>1</d2p1:InboundFreightLegID>
    <d2p1:OrderID>2</d2p1:OrderID>
    <d2p1:OutboundFreightLegID>1</d2p1:OutboundFreightLegID>
    <d2p1:UpdatedBy>8</d2p1:UpdatedBy>
    <d2p1:UpdatedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2025-12-06T23:40:57.8078275Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </d2p1:UpdatedDate>
    <d2p1:WarehouseAlertID>1</d2p1:WarehouseAlertID>
    <d2p1:WarehouseAlertStatusStep>4</d2p1:WarehouseAlertStatusStep>
    <d2p1:WarehouseID>3</d2p1:WarehouseID>
  </returnItem>
</UpsertRetOfordWarehouseAlertDb_S0MPMsnQ>