POST api/VendingMachine/pickuptimes

POST api/VendingMachine/pickuptimes

Sets the defined pickup times of a date for orders for a vending machine

Request Information

URI Parameters

None.

Body Parameters

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

pickuptimes
NameDescriptionTypeAdditional information
Salepoint

string

None.

Date

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Salepoint": "sample string 1",
  "Date": "sample string 2"
}

application/xml, text/xml

Sample:
<pickuptimes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KOSTIFC">
  <Date>sample string 2</Date>
  <Salepoint>sample string 1</Salepoint>
</pickuptimes>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

_ResponsePickUpTimes (ID_error, message und list of pickUptTime) -> pickUpTime contains: ID, Start (Date) End (Date) and Name (String)

_ResponsePickUpTimes
NameDescriptionTypeAdditional information
ID_Error

integer

None.

Message

string

None.

PickUpTimes

Collection of _PickUpTime

None.

Response Formats

application/json, text/json

Sample:
{
  "ID_Error": 1,
  "Message": "sample string 2",
  "PickUpTimes": [
    {
      "ID": 1,
      "Start": "2026-04-14T03:17:23.2378333+00:00",
      "End": "2026-04-14T03:17:23.2378333+00:00",
      "Name": "sample string 4"
    },
    {
      "ID": 1,
      "Start": "2026-04-14T03:17:23.2378333+00:00",
      "End": "2026-04-14T03:17:23.2378333+00:00",
      "Name": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<pickuptimes._ResponsePickUpTimes 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>
  <PickUpTimes>
    <pickuptimes._PickUpTime>
      <End>2026-04-14T03:17:23.2378333+00:00</End>
      <ID>1</ID>
      <Name>sample string 4</Name>
      <Start>2026-04-14T03:17:23.2378333+00:00</Start>
    </pickuptimes._PickUpTime>
    <pickuptimes._PickUpTime>
      <End>2026-04-14T03:17:23.2378333+00:00</End>
      <ID>1</ID>
      <Name>sample string 4</Name>
      <Start>2026-04-14T03:17:23.2378333+00:00</Start>
    </pickuptimes._PickUpTime>
  </PickUpTimes>
</pickuptimes._ResponsePickUpTimes>