POST api/Sales/CreatePurchaseList

POST api/Sales/CreatePurchaseList

Get all Informations about a voucher by his number

Request Information

URI Parameters

None.

Body Parameters

PurchaseList
NameDescriptionTypeAdditional information
CCCode

Code of the costcenter

string

None.

DeliveryDate

Date of delivery

date

None.

ListName

Name that the list should be given Decimal

string

None.

AdditionalInfo

Additional information concerning the purchase list Decimal

string

None.

Items

List of items

Collection of PurchaseListItem

None.

Request Formats

application/json, text/json

Sample:
{
  "CCCode": "sample string 1",
  "DeliveryDate": "2026-04-14T03:14:54.7312519+00:00",
  "ListName": "sample string 3",
  "AdditionalInfo": "sample string 4",
  "Items": [
    {
      "PLU": 1,
      "Amount": 2.1,
      "Comment": "sample string 3"
    },
    {
      "PLU": 1,
      "Amount": 2.1,
      "Comment": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<PurchaseList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KOSTIFC">
  <AdditionalInfo>sample string 4</AdditionalInfo>
  <CCCode>sample string 1</CCCode>
  <DeliveryDate>2026-04-14T03:14:54.7312519+00:00</DeliveryDate>
  <Items>
    <PurchaseListItem>
      <Amount>2.1</Amount>
      <Comment>sample string 3</Comment>
      <PLU>1</PLU>
    </PurchaseListItem>
    <PurchaseListItem>
      <Amount>2.1</Amount>
      <Comment>sample string 3</Comment>
      <PLU>1</PLU>
    </PurchaseListItem>
  </Items>
  <ListName>sample string 3</ListName>
</PurchaseList>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Voucher Infos

PurchaseListResponse
NameDescriptionTypeAdditional information
Success

Was the request answered successfully

boolean

None.

Message

Additional details

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<PurchaseListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KOSTIFC">
  <Message>sample string 2</Message>
  <Success>true</Success>
</PurchaseListResponse>