POST api/VendingMachine/confirmfillup

POST api/VendingMachine/confirmfillup

Sets PickUp times for the provided vending machine for a date

Request Information

URI Parameters

None.

Body Parameters

Salepoint, Date (as string in the format "yyyyMMdd"),ID_pickuptime, alldata

Confirmfillup
NameDescriptionTypeAdditional information
Salepoint

string

None.

Date

string

None.

ID_PickUpTime

integer

None.

Orders

Collection of OrderC

None.

Items

Collection of Item_CF

None.

Request Formats

application/json, text/json

Sample:
{
  "Salepoint": "sample string 1",
  "Date": "sample string 2",
  "ID_PickUpTime": 3,
  "Orders": [
    {
      "OrderNumber": "sample string 1",
      "Compartments": [
        {
          "Number": 1,
          "State": "sample string 2"
        },
        {
          "Number": 1,
          "State": "sample string 2"
        }
      ]
    },
    {
      "OrderNumber": "sample string 1",
      "Compartments": [
        {
          "Number": 1,
          "State": "sample string 2"
        },
        {
          "Number": 1,
          "State": "sample string 2"
        }
      ]
    }
  ],
  "Items": [
    {
      "Number": "sample string 1",
      "Quantity": 2
    },
    {
      "Number": "sample string 1",
      "Quantity": 2
    }
  ]
}

application/xml, text/xml

Sample:
<Confirmfillup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KOSTIFC">
  <Date>sample string 2</Date>
  <ID_PickUpTime>3</ID_PickUpTime>
  <Items>
    <Confirmfillup.Item_CF>
      <Number>sample string 1</Number>
      <Quantity>2</Quantity>
    </Confirmfillup.Item_CF>
    <Confirmfillup.Item_CF>
      <Number>sample string 1</Number>
      <Quantity>2</Quantity>
    </Confirmfillup.Item_CF>
  </Items>
  <Orders>
    <Confirmfillup.OrderC>
      <Compartments>
        <Confirmfillup.Compartment_CF>
          <Number>1</Number>
          <State>sample string 2</State>
        </Confirmfillup.Compartment_CF>
        <Confirmfillup.Compartment_CF>
          <Number>1</Number>
          <State>sample string 2</State>
        </Confirmfillup.Compartment_CF>
      </Compartments>
      <OrderNumber>sample string 1</OrderNumber>
    </Confirmfillup.OrderC>
    <Confirmfillup.OrderC>
      <Compartments>
        <Confirmfillup.Compartment_CF>
          <Number>1</Number>
          <State>sample string 2</State>
        </Confirmfillup.Compartment_CF>
        <Confirmfillup.Compartment_CF>
          <Number>1</Number>
          <State>sample string 2</State>
        </Confirmfillup.Compartment_CF>
      </Compartments>
      <OrderNumber>sample string 1</OrderNumber>
    </Confirmfillup.OrderC>
  </Orders>
  <Salepoint>sample string 1</Salepoint>
</Confirmfillup>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseConfirmFillUp (ID_error, message)(String)

ResponseConfirmFillUp
NameDescriptionTypeAdditional information
ID_Error

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID_Error": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<Confirmfillup.ResponseConfirmFillUp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KOSTIFC">
  <ID_Error>1</ID_Error>
  <Message>sample string 2</Message>
</Confirmfillup.ResponseConfirmFillUp>