POST v1/Orders

Request Information

URI Parameters

None.

Body Parameters

OrderViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Status

ProcessStatus

None.

Reference

string

None.

DeliveryTypeId

integer

None.

DeliveryTypeName

string

None.

OrderNumberPalfinger

string

None.

EmployeeNumberPalfinger

string

None.

Comment

string

None.

OrderCicmpyId

integer

None.

DeliveryCicmpyId

integer

None.

InvoiceCicmpyId

integer

None.

OrderCicntpId

integer

None.

DeliveryCicntpId

integer

None.

InvoiceCicntpId

integer

None.

OrderAddress

OrderAddressViewModel

None.

DeliveryAddress

OrderAddressViewModel

None.

InvoiceAddress

OrderAddressViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Status": 0,
  "Reference": "sample string 1",
  "DeliveryTypeId": 1,
  "DeliveryTypeName": "sample string 2",
  "OrderNumberPalfinger": "sample string 3",
  "EmployeeNumberPalfinger": "sample string 4",
  "Comment": "sample string 5",
  "OrderCicmpyId": 1,
  "DeliveryCicmpyId": 1,
  "InvoiceCicmpyId": 1,
  "OrderCicntpId": 1,
  "DeliveryCicntpId": 1,
  "InvoiceCicntpId": 1,
  "OrderAddress": {
    "DebtorType": 0,
    "Name": "sample string 1",
    "Address": "sample string 2",
    "PostCode": "sample string 3",
    "City": "sample string 4",
    "Country": "sample string 5",
    "ContactPersonName": "sample string 6",
    "CicmpyId": 1,
    "CicntpId": 1
  },
  "DeliveryAddress": {
    "DebtorType": 0,
    "Name": "sample string 1",
    "Address": "sample string 2",
    "PostCode": "sample string 3",
    "City": "sample string 4",
    "Country": "sample string 5",
    "ContactPersonName": "sample string 6",
    "CicmpyId": 1,
    "CicntpId": 1
  },
  "InvoiceAddress": {
    "DebtorType": 0,
    "Name": "sample string 1",
    "Address": "sample string 2",
    "PostCode": "sample string 3",
    "City": "sample string 4",
    "Country": "sample string 5",
    "ContactPersonName": "sample string 6",
    "CicmpyId": 1,
    "CicntpId": 1
  }
}

application/xml, text/xml

Sample:
<OrderViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dealerportal.Shared.ViewModels.v1.Order">
  <Comment>sample string 5</Comment>
  <DeliveryAddress>
    <Address>sample string 2</Address>
    <CicmpyId>1</CicmpyId>
    <CicntpId>1</CicntpId>
    <City>sample string 4</City>
    <ContactPersonName>sample string 6</ContactPersonName>
    <Country>sample string 5</Country>
    <DebtorType>Unassigned</DebtorType>
    <Name>sample string 1</Name>
    <PostCode>sample string 3</PostCode>
  </DeliveryAddress>
  <DeliveryCicmpyId>1</DeliveryCicmpyId>
  <DeliveryCicntpId>1</DeliveryCicntpId>
  <DeliveryTypeId>1</DeliveryTypeId>
  <DeliveryTypeName>sample string 2</DeliveryTypeName>
  <EmployeeNumberPalfinger>sample string 4</EmployeeNumberPalfinger>
  <Id>1</Id>
  <InvoiceAddress>
    <Address>sample string 2</Address>
    <CicmpyId>1</CicmpyId>
    <CicntpId>1</CicntpId>
    <City>sample string 4</City>
    <ContactPersonName>sample string 6</ContactPersonName>
    <Country>sample string 5</Country>
    <DebtorType>Unassigned</DebtorType>
    <Name>sample string 1</Name>
    <PostCode>sample string 3</PostCode>
  </InvoiceAddress>
  <InvoiceCicmpyId>1</InvoiceCicmpyId>
  <InvoiceCicntpId>1</InvoiceCicntpId>
  <OrderAddress>
    <Address>sample string 2</Address>
    <CicmpyId>1</CicmpyId>
    <CicntpId>1</CicntpId>
    <City>sample string 4</City>
    <ContactPersonName>sample string 6</ContactPersonName>
    <Country>sample string 5</Country>
    <DebtorType>Unassigned</DebtorType>
    <Name>sample string 1</Name>
    <PostCode>sample string 3</PostCode>
  </OrderAddress>
  <OrderCicmpyId>1</OrderCicmpyId>
  <OrderCicntpId>1</OrderCicntpId>
  <OrderNumberPalfinger>sample string 3</OrderNumberPalfinger>
  <Reference>sample string 1</Reference>
  <Status>Unassigned</Status>
</OrderViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

OrderViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Status

ProcessStatus

None.

Reference

string

None.

DeliveryTypeId

integer

None.

DeliveryTypeName

string

None.

OrderNumberPalfinger

string

None.

EmployeeNumberPalfinger

string

None.

Comment

string

None.

OrderCicmpyId

integer

None.

DeliveryCicmpyId

integer

None.

InvoiceCicmpyId

integer

None.

OrderCicntpId

integer

None.

DeliveryCicntpId

integer

None.

InvoiceCicntpId

integer

None.

OrderAddress

OrderAddressViewModel

None.

DeliveryAddress

OrderAddressViewModel

None.

InvoiceAddress

OrderAddressViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Status": 0,
  "Reference": "sample string 1",
  "DeliveryTypeId": 1,
  "DeliveryTypeName": "sample string 2",
  "OrderNumberPalfinger": "sample string 3",
  "EmployeeNumberPalfinger": "sample string 4",
  "Comment": "sample string 5",
  "OrderCicmpyId": 1,
  "DeliveryCicmpyId": 1,
  "InvoiceCicmpyId": 1,
  "OrderCicntpId": 1,
  "DeliveryCicntpId": 1,
  "InvoiceCicntpId": 1,
  "OrderAddress": {
    "DebtorType": 0,
    "Name": "sample string 1",
    "Address": "sample string 2",
    "PostCode": "sample string 3",
    "City": "sample string 4",
    "Country": "sample string 5",
    "ContactPersonName": "sample string 6",
    "CicmpyId": 1,
    "CicntpId": 1
  },
  "DeliveryAddress": {
    "DebtorType": 0,
    "Name": "sample string 1",
    "Address": "sample string 2",
    "PostCode": "sample string 3",
    "City": "sample string 4",
    "Country": "sample string 5",
    "ContactPersonName": "sample string 6",
    "CicmpyId": 1,
    "CicntpId": 1
  },
  "InvoiceAddress": {
    "DebtorType": 0,
    "Name": "sample string 1",
    "Address": "sample string 2",
    "PostCode": "sample string 3",
    "City": "sample string 4",
    "Country": "sample string 5",
    "ContactPersonName": "sample string 6",
    "CicmpyId": 1,
    "CicntpId": 1
  }
}

application/xml, text/xml

Sample:
<OrderViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dealerportal.Shared.ViewModels.v1.Order">
  <Comment>sample string 5</Comment>
  <DeliveryAddress>
    <Address>sample string 2</Address>
    <CicmpyId>1</CicmpyId>
    <CicntpId>1</CicntpId>
    <City>sample string 4</City>
    <ContactPersonName>sample string 6</ContactPersonName>
    <Country>sample string 5</Country>
    <DebtorType>Unassigned</DebtorType>
    <Name>sample string 1</Name>
    <PostCode>sample string 3</PostCode>
  </DeliveryAddress>
  <DeliveryCicmpyId>1</DeliveryCicmpyId>
  <DeliveryCicntpId>1</DeliveryCicntpId>
  <DeliveryTypeId>1</DeliveryTypeId>
  <DeliveryTypeName>sample string 2</DeliveryTypeName>
  <EmployeeNumberPalfinger>sample string 4</EmployeeNumberPalfinger>
  <Id>1</Id>
  <InvoiceAddress>
    <Address>sample string 2</Address>
    <CicmpyId>1</CicmpyId>
    <CicntpId>1</CicntpId>
    <City>sample string 4</City>
    <ContactPersonName>sample string 6</ContactPersonName>
    <Country>sample string 5</Country>
    <DebtorType>Unassigned</DebtorType>
    <Name>sample string 1</Name>
    <PostCode>sample string 3</PostCode>
  </InvoiceAddress>
  <InvoiceCicmpyId>1</InvoiceCicmpyId>
  <InvoiceCicntpId>1</InvoiceCicntpId>
  <OrderAddress>
    <Address>sample string 2</Address>
    <CicmpyId>1</CicmpyId>
    <CicntpId>1</CicntpId>
    <City>sample string 4</City>
    <ContactPersonName>sample string 6</ContactPersonName>
    <Country>sample string 5</Country>
    <DebtorType>Unassigned</DebtorType>
    <Name>sample string 1</Name>
    <PostCode>sample string 3</PostCode>
  </OrderAddress>
  <OrderCicmpyId>1</OrderCicmpyId>
  <OrderCicntpId>1</OrderCicntpId>
  <OrderNumberPalfinger>sample string 3</OrderNumberPalfinger>
  <Reference>sample string 1</Reference>
  <Status>Unassigned</Status>
</OrderViewModel>