POST api/v1/ReceiveOptions

Request Information

URI Parameters

None.

Body Parameters

ReceiveModeInput
NameDescriptionTypeAdditional information
CompID

integer

None.

LocID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CompID": 1,
  "LocID": 2
}

application/xml, text/xml

Sample:
<ReceiveModeInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <CompID>1</CompID>
  <LocID>2</LocID>
</ReceiveModeInput>

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

Response Information

Resource Description

Collection of ReceivedAmountModel
NameDescriptionTypeAdditional information
RcvModeID

integer

None.

RcvMode

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "RcvModeID": 1,
    "RcvMode": "sample string 2"
  },
  {
    "RcvModeID": 1,
    "RcvMode": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfReceivedAmountModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <ReceivedAmountModel>
    <RcvMode>sample string 2</RcvMode>
    <RcvModeID>1</RcvModeID>
  </ReceivedAmountModel>
  <ReceivedAmountModel>
    <RcvMode>sample string 2</RcvMode>
    <RcvModeID>1</RcvModeID>
  </ReceivedAmountModel>
</ArrayOfReceivedAmountModel>