POST api/atmpurchaseorder/CreateBulkAtmPurchaseOrder

Request Information

URI Parameters

None.

Body Parameters

AtmPurchaseOrderBulkRequestModel
NameDescriptionTypeAdditional information
PurchaseOrders

Collection of AtmPurchaseOrderRequestModel

None.

Request Formats

application/json, text/json

Sample:
{
  "PurchaseOrders": [
    {
      "FloatClientId": "e835718b-b9eb-4d65-827d-704e398dd5b0",
      "SelectedDeviceId": "cce6b619-d034-4dd4-8508-aea737536915",
      "SelectedBranchId": "c8433d86-58f0-43b4-8824-bd6c20bb7ab9",
      "Amount": 4.0,
      "PurchaseDate": "sample string 5",
      "TenRand": 6,
      "TwentyRand": 7,
      "FiftyRand": 8,
      "OneHundredRand": 9,
      "TwoHundredRand": 10
    },
    {
      "FloatClientId": "e835718b-b9eb-4d65-827d-704e398dd5b0",
      "SelectedDeviceId": "cce6b619-d034-4dd4-8508-aea737536915",
      "SelectedBranchId": "c8433d86-58f0-43b4-8824-bd6c20bb7ab9",
      "Amount": 4.0,
      "PurchaseDate": "sample string 5",
      "TenRand": 6,
      "TwentyRand": 7,
      "FiftyRand": 8,
      "OneHundredRand": 9,
      "TwoHundredRand": 10
    }
  ]
}

application/xml, text/xml

Sample:
<AtmPurchaseOrderBulkRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CashAutomation.Entities.ApiModels">
  <PurchaseOrders>
    <AtmPurchaseOrderRequestModel>
      <Amount>4</Amount>
      <FiftyRand>8</FiftyRand>
      <FloatClientId>e835718b-b9eb-4d65-827d-704e398dd5b0</FloatClientId>
      <OneHundredRand>9</OneHundredRand>
      <PurchaseDate>sample string 5</PurchaseDate>
      <SelectedBranchId>c8433d86-58f0-43b4-8824-bd6c20bb7ab9</SelectedBranchId>
      <SelectedDeviceId>cce6b619-d034-4dd4-8508-aea737536915</SelectedDeviceId>
      <TenRand>6</TenRand>
      <TwentyRand>7</TwentyRand>
      <TwoHundredRand>10</TwoHundredRand>
    </AtmPurchaseOrderRequestModel>
    <AtmPurchaseOrderRequestModel>
      <Amount>4</Amount>
      <FiftyRand>8</FiftyRand>
      <FloatClientId>e835718b-b9eb-4d65-827d-704e398dd5b0</FloatClientId>
      <OneHundredRand>9</OneHundredRand>
      <PurchaseDate>sample string 5</PurchaseDate>
      <SelectedBranchId>c8433d86-58f0-43b4-8824-bd6c20bb7ab9</SelectedBranchId>
      <SelectedDeviceId>cce6b619-d034-4dd4-8508-aea737536915</SelectedDeviceId>
      <TenRand>6</TenRand>
      <TwentyRand>7</TwentyRand>
      <TwoHundredRand>10</TwoHundredRand>
    </AtmPurchaseOrderRequestModel>
  </PurchaseOrders>
</AtmPurchaseOrderBulkRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.