POST api/Appointment/SalesOrder
Request Information
URI Parameters
None.
Body Parameters
Collection of AppointmentOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| orderLines | Collection of AppointmentOrderLine |
None. |
|
| orderNo | integer |
None. |
|
| orderType | integer |
None. |
|
| customerNo | integer |
None. |
|
| externalOrderId | string |
None. |
|
| yourReference | string |
None. |
|
| ourReference | string |
None. |
|
| orderDate | date |
None. |
|
| employeeNo | integer |
None. |
|
| deliveryDate | date |
None. |
|
| label | string |
None. |
|
| customerOrSupplierOrderNo | string |
None. |
|
| orgUnits | AppointmentOrderOrgUnits |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"orderNo": 1,
"orderType": 1,
"customerNo": 1,
"externalOrderId": "sample string 2",
"yourReference": "sample string 3",
"ourReference": "sample string 4",
"orderDate": "2025-11-29T15:08:27.6187646+01:00",
"employeeNo": 1,
"deliveryDate": "2025-11-29T15:08:27.6187646+01:00",
"label": "sample string 5",
"customerOrSupplierOrderNo": "sample string 6",
"orgUnits": {
"OrgUnit1": 1,
"OrgUnit2": 1
},
"orderLines": [
{
"lineNo": 1,
"productNo": "sample string 1",
"description": "sample string 2",
"quantity": 1.0,
"appointment": {
"appointmentAssociateNo": 1,
"appointmentNo": 1,
"associateNo": 1,
"fromDate": "2025-11-29T15:08:27.6187646+01:00",
"toDate": "2025-11-29T15:08:27.6187646+01:00",
"fromTime": 1,
"toTime": 1,
"employeeNo": 1,
"productNo": "sample string 1",
"description": "sample string 2",
"incurred": 1.0,
"quantity": 1.0,
"priceDomestic": 1.0,
"finished": 1,
"appointmentStatus": 1,
"externalId": "sample string 3",
"memoFileName": "sample string 4",
"payrollSort": "sample string 5",
"unit": 1,
"orgUnit1": 1,
"orgUnit2": 1,
"orgUnit3": 1,
"customerNo": 1,
"orderNo": 1,
"customerName": "sample string 6",
"date1": "2025-11-29T15:08:27.6187646+01:00",
"date2": "2025-11-29T15:08:27.6187646+01:00",
"text1": "sample string 7",
"createdDateTime": "2025-11-29T15:08:27.6187646+01:00",
"createdByUser": "sample string 9",
"changedDateTime": "2025-11-29T15:08:27.6187646+01:00",
"changedByUser": "sample string 11"
}
},
{
"lineNo": 1,
"productNo": "sample string 1",
"description": "sample string 2",
"quantity": 1.0,
"appointment": {
"appointmentAssociateNo": 1,
"appointmentNo": 1,
"associateNo": 1,
"fromDate": "2025-11-29T15:08:27.6187646+01:00",
"toDate": "2025-11-29T15:08:27.6187646+01:00",
"fromTime": 1,
"toTime": 1,
"employeeNo": 1,
"productNo": "sample string 1",
"description": "sample string 2",
"incurred": 1.0,
"quantity": 1.0,
"priceDomestic": 1.0,
"finished": 1,
"appointmentStatus": 1,
"externalId": "sample string 3",
"memoFileName": "sample string 4",
"payrollSort": "sample string 5",
"unit": 1,
"orgUnit1": 1,
"orgUnit2": 1,
"orgUnit3": 1,
"customerNo": 1,
"orderNo": 1,
"customerName": "sample string 6",
"date1": "2025-11-29T15:08:27.6187646+01:00",
"date2": "2025-11-29T15:08:27.6187646+01:00",
"text1": "sample string 7",
"createdDateTime": "2025-11-29T15:08:27.6187646+01:00",
"createdByUser": "sample string 9",
"changedDateTime": "2025-11-29T15:08:27.6187646+01:00",
"changedByUser": "sample string 11"
}
}
]
},
{
"orderNo": 1,
"orderType": 1,
"customerNo": 1,
"externalOrderId": "sample string 2",
"yourReference": "sample string 3",
"ourReference": "sample string 4",
"orderDate": "2025-11-29T15:08:27.6187646+01:00",
"employeeNo": 1,
"deliveryDate": "2025-11-29T15:08:27.6187646+01:00",
"label": "sample string 5",
"customerOrSupplierOrderNo": "sample string 6",
"orgUnits": {
"OrgUnit1": 1,
"OrgUnit2": 1
},
"orderLines": [
{
"lineNo": 1,
"productNo": "sample string 1",
"description": "sample string 2",
"quantity": 1.0,
"appointment": {
"appointmentAssociateNo": 1,
"appointmentNo": 1,
"associateNo": 1,
"fromDate": "2025-11-29T15:08:27.6187646+01:00",
"toDate": "2025-11-29T15:08:27.6187646+01:00",
"fromTime": 1,
"toTime": 1,
"employeeNo": 1,
"productNo": "sample string 1",
"description": "sample string 2",
"incurred": 1.0,
"quantity": 1.0,
"priceDomestic": 1.0,
"finished": 1,
"appointmentStatus": 1,
"externalId": "sample string 3",
"memoFileName": "sample string 4",
"payrollSort": "sample string 5",
"unit": 1,
"orgUnit1": 1,
"orgUnit2": 1,
"orgUnit3": 1,
"customerNo": 1,
"orderNo": 1,
"customerName": "sample string 6",
"date1": "2025-11-29T15:08:27.6187646+01:00",
"date2": "2025-11-29T15:08:27.6187646+01:00",
"text1": "sample string 7",
"createdDateTime": "2025-11-29T15:08:27.6187646+01:00",
"createdByUser": "sample string 9",
"changedDateTime": "2025-11-29T15:08:27.6187646+01:00",
"changedByUser": "sample string 11"
}
},
{
"lineNo": 1,
"productNo": "sample string 1",
"description": "sample string 2",
"quantity": 1.0,
"appointment": {
"appointmentAssociateNo": 1,
"appointmentNo": 1,
"associateNo": 1,
"fromDate": "2025-11-29T15:08:27.6187646+01:00",
"toDate": "2025-11-29T15:08:27.6187646+01:00",
"fromTime": 1,
"toTime": 1,
"employeeNo": 1,
"productNo": "sample string 1",
"description": "sample string 2",
"incurred": 1.0,
"quantity": 1.0,
"priceDomestic": 1.0,
"finished": 1,
"appointmentStatus": 1,
"externalId": "sample string 3",
"memoFileName": "sample string 4",
"payrollSort": "sample string 5",
"unit": 1,
"orgUnit1": 1,
"orgUnit2": 1,
"orgUnit3": 1,
"customerNo": 1,
"orderNo": 1,
"customerName": "sample string 6",
"date1": "2025-11-29T15:08:27.6187646+01:00",
"date2": "2025-11-29T15:08:27.6187646+01:00",
"text1": "sample string 7",
"createdDateTime": "2025-11-29T15:08:27.6187646+01:00",
"createdByUser": "sample string 9",
"changedDateTime": "2025-11-29T15:08:27.6187646+01:00",
"changedByUser": "sample string 11"
}
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfAppointmentOrder xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<AppointmentOrder>
<orderNo>1</orderNo>
<orderType>1</orderType>
<customerNo>1</customerNo>
<externalOrderId>sample string 2</externalOrderId>
<yourReference>sample string 3</yourReference>
<ourReference>sample string 4</ourReference>
<orderDate>2025-11-29T15:08:27.6187646+01:00</orderDate>
<employeeNo>1</employeeNo>
<deliveryDate>2025-11-29T15:08:27.6187646+01:00</deliveryDate>
<label>sample string 5</label>
<customerOrSupplierOrderNo>sample string 6</customerOrSupplierOrderNo>
<orgUnits>
<OrgUnit1>1</OrgUnit1>
<OrgUnit2>1</OrgUnit2>
</orgUnits>
<orderLines>
<AppointmentOrderLine>
<lineNo>1</lineNo>
<productNo>sample string 1</productNo>
<description>sample string 2</description>
<quantity>1</quantity>
<appointment>
<appointmentAssociateNo>1</appointmentAssociateNo>
<appointmentNo>1</appointmentNo>
<associateNo>1</associateNo>
<fromDate>2025-11-29T15:08:27.6187646+01:00</fromDate>
<toDate>2025-11-29T15:08:27.6187646+01:00</toDate>
<fromTime>1</fromTime>
<toTime>1</toTime>
<employeeNo>1</employeeNo>
<productNo>sample string 1</productNo>
<description>sample string 2</description>
<incurred>1</incurred>
<quantity>1</quantity>
<priceDomestic>1</priceDomestic>
<finished>1</finished>
<appointmentStatus>1</appointmentStatus>
<externalId>sample string 3</externalId>
<memoFileName>sample string 4</memoFileName>
<payrollSort>sample string 5</payrollSort>
<unit>1</unit>
<orgUnit1>1</orgUnit1>
<orgUnit2>1</orgUnit2>
<orgUnit3>1</orgUnit3>
<customerNo>1</customerNo>
<orderNo>1</orderNo>
<customerName>sample string 6</customerName>
<date1>2025-11-29T15:08:27.6187646+01:00</date1>
<date2>2025-11-29T15:08:27.6187646+01:00</date2>
<text1>sample string 7</text1>
<createdDateTime>2025-11-29T15:08:27.6187646+01:00</createdDateTime>
<createdByUser>sample string 9</createdByUser>
<changedDateTime>2025-11-29T15:08:27.6187646+01:00</changedDateTime>
<changedByUser>sample string 11</changedByUser>
</appointment>
</AppointmentOrderLine>
<AppointmentOrderLine>
<lineNo>1</lineNo>
<productNo>sample string 1</productNo>
<description>sample string 2</description>
<quantity>1</quantity>
<appointment>
<appointmentAssociateNo>1</appointmentAssociateNo>
<appointmentNo>1</appointmentNo>
<associateNo>1</associateNo>
<fromDate>2025-11-29T15:08:27.6187646+01:00</fromDate>
<toDate>2025-11-29T15:08:27.6187646+01:00</toDate>
<fromTime>1</fromTime>
<toTime>1</toTime>
<employeeNo>1</employeeNo>
<productNo>sample string 1</productNo>
<description>sample string 2</description>
<incurred>1</incurred>
<quantity>1</quantity>
<priceDomestic>1</priceDomestic>
<finished>1</finished>
<appointmentStatus>1</appointmentStatus>
<externalId>sample string 3</externalId>
<memoFileName>sample string 4</memoFileName>
<payrollSort>sample string 5</payrollSort>
<unit>1</unit>
<orgUnit1>1</orgUnit1>
<orgUnit2>1</orgUnit2>
<orgUnit3>1</orgUnit3>
<customerNo>1</customerNo>
<orderNo>1</orderNo>
<customerName>sample string 6</customerName>
<date1>2025-11-29T15:08:27.6187646+01:00</date1>
<date2>2025-11-29T15:08:27.6187646+01:00</date2>
<text1>sample string 7</text1>
<createdDateTime>2025-11-29T15:08:27.6187646+01:00</createdDateTime>
<createdByUser>sample string 9</createdByUser>
<changedDateTime>2025-11-29T15:08:27.6187646+01:00</changedDateTime>
<changedByUser>sample string 11</changedByUser>
</appointment>
</AppointmentOrderLine>
</orderLines>
</AppointmentOrder>
<AppointmentOrder>
<orderNo>1</orderNo>
<orderType>1</orderType>
<customerNo>1</customerNo>
<externalOrderId>sample string 2</externalOrderId>
<yourReference>sample string 3</yourReference>
<ourReference>sample string 4</ourReference>
<orderDate>2025-11-29T15:08:27.6187646+01:00</orderDate>
<employeeNo>1</employeeNo>
<deliveryDate>2025-11-29T15:08:27.6187646+01:00</deliveryDate>
<label>sample string 5</label>
<customerOrSupplierOrderNo>sample string 6</customerOrSupplierOrderNo>
<orgUnits>
<OrgUnit1>1</OrgUnit1>
<OrgUnit2>1</OrgUnit2>
</orgUnits>
<orderLines>
<AppointmentOrderLine>
<lineNo>1</lineNo>
<productNo>sample string 1</productNo>
<description>sample string 2</description>
<quantity>1</quantity>
<appointment>
<appointmentAssociateNo>1</appointmentAssociateNo>
<appointmentNo>1</appointmentNo>
<associateNo>1</associateNo>
<fromDate>2025-11-29T15:08:27.6187646+01:00</fromDate>
<toDate>2025-11-29T15:08:27.6187646+01:00</toDate>
<fromTime>1</fromTime>
<toTime>1</toTime>
<employeeNo>1</employeeNo>
<productNo>sample string 1</productNo>
<description>sample string 2</description>
<incurred>1</incurred>
<quantity>1</quantity>
<priceDomestic>1</priceDomestic>
<finished>1</finished>
<appointmentStatus>1</appointmentStatus>
<externalId>sample string 3</externalId>
<memoFileName>sample string 4</memoFileName>
<payrollSort>sample string 5</payrollSort>
<unit>1</unit>
<orgUnit1>1</orgUnit1>
<orgUnit2>1</orgUnit2>
<orgUnit3>1</orgUnit3>
<customerNo>1</customerNo>
<orderNo>1</orderNo>
<customerName>sample string 6</customerName>
<date1>2025-11-29T15:08:27.6187646+01:00</date1>
<date2>2025-11-29T15:08:27.6187646+01:00</date2>
<text1>sample string 7</text1>
<createdDateTime>2025-11-29T15:08:27.6187646+01:00</createdDateTime>
<createdByUser>sample string 9</createdByUser>
<changedDateTime>2025-11-29T15:08:27.6187646+01:00</changedDateTime>
<changedByUser>sample string 11</changedByUser>
</appointment>
</AppointmentOrderLine>
<AppointmentOrderLine>
<lineNo>1</lineNo>
<productNo>sample string 1</productNo>
<description>sample string 2</description>
<quantity>1</quantity>
<appointment>
<appointmentAssociateNo>1</appointmentAssociateNo>
<appointmentNo>1</appointmentNo>
<associateNo>1</associateNo>
<fromDate>2025-11-29T15:08:27.6187646+01:00</fromDate>
<toDate>2025-11-29T15:08:27.6187646+01:00</toDate>
<fromTime>1</fromTime>
<toTime>1</toTime>
<employeeNo>1</employeeNo>
<productNo>sample string 1</productNo>
<description>sample string 2</description>
<incurred>1</incurred>
<quantity>1</quantity>
<priceDomestic>1</priceDomestic>
<finished>1</finished>
<appointmentStatus>1</appointmentStatus>
<externalId>sample string 3</externalId>
<memoFileName>sample string 4</memoFileName>
<payrollSort>sample string 5</payrollSort>
<unit>1</unit>
<orgUnit1>1</orgUnit1>
<orgUnit2>1</orgUnit2>
<orgUnit3>1</orgUnit3>
<customerNo>1</customerNo>
<orderNo>1</orderNo>
<customerName>sample string 6</customerName>
<date1>2025-11-29T15:08:27.6187646+01:00</date1>
<date2>2025-11-29T15:08:27.6187646+01:00</date2>
<text1>sample string 7</text1>
<createdDateTime>2025-11-29T15:08:27.6187646+01:00</createdDateTime>
<createdByUser>sample string 9</createdByUser>
<changedDateTime>2025-11-29T15:08:27.6187646+01:00</changedDateTime>
<changedByUser>sample string 11</changedByUser>
</appointment>
</AppointmentOrderLine>
</orderLines>
</AppointmentOrder>
</ArrayOfAppointmentOrder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.