Mews Orderitems Getall Example is an example object payload from Mews, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
operationIdmethodpathsummaryrequestExamplesresponseExamples
Example Payload
{
"operationId": "orderItems_getAll",
"method": "POST",
"path": "/api/connector/v1/orderItems/getAll",
"summary": "Get all order items",
"requestExamples": [
{
"contentType": "application/json",
"example": {
"ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
"AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
"Client": "Sample Client 1.0.0",
"AccountIds": [
"fadd5bb6-b428-45d5-94f8-fd0d89fece6d",
"bccdafd1-3e44-439d-861f-341526b597a9"
],
"CreatedUtc": {
"StartUtc": "2023-01-01T00:00:00Z",
"EndUtc": "2023-01-31T23:59:59Z"
},
"EnterpriseIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6",
"4d0201db-36f5-428b-8d11-4f0a65e960cc"
],
"Limitation": {
"Count": 100
}
}
}
],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"example": {
"OrderItems": [
{
"Id": "53896156-f25b-4949-b55b-afd3007b1146",
"EnterpriseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"AccountId": "c173bb22-6ff8-4ffd-875f-afb900c92865",
"AccountType": "Customer",
"Notes": "Additional note",
"ServiceId": "294c7859-63ba-46ad-a8bf-34fad2019383",
"ServiceOrderId": "ac5ef5eb-c5b2-4083-879f-83f04a5ebda5",
"BillId": "d27ffe99-ff92-4afb-ac03-9268f24f0556",
"AccountingCategoryId": "c0610937-0165-4091-a79c-44eb34173daf",
"UnitCount": 1,
"UnitAmount": {
"Currency": "EUR",
"NetValue": 5,
"GrossValue": 5,
"TaxValues": [
{
"Code": "DE-2020-1-Z",
"Value": 0
}
],
"Breakdown": {
"Items": [
{
"TaxRateCode": "DE-2020-1-Z",
"NetValue": 5,
"TaxValue": 0
}
]
}
},
"Amount": {
"Currency": "EUR",
"NetValue": 5,
"GrossValue": 5,
"TaxValues": [
{
"Code": "DE-2020-1-Z",
"Value": 0
}
],
"Breakdown": {
"Items": [
{
"TaxRateCode": "DE-2020-1-Z",
"NetValue": 5,
"TaxValue": 0
}
]
}
},
"OriginalAmount": {
"Currency": "EUR",
"NetValue": 5,
"GrossValue": 5,
"TaxValues": [
{
"Code": "DE-2020-1-Z",
"Value": 0
}
],
"Breakdown": {
"Items": [
{
"TaxRateCode": "DE-2020-1-Z",
"NetValue": 5,
"TaxValue": 0
}
]
}
},
"RevenueType": "Additional",
"CreatorProfileId": "3cd637ef-4728-47f9-8fb1-afb900c9cdcf",
"UpdaterProfileId": "3cd637ef-4728-47f9-8fb1-afb900c9cdcf",
"CreatedUtc": "2023-03-28T07:28:04Z",
"UpdatedUtc": "2023-03-28T07:28:04Z",
"ConsumedUtc": "2023-03-31T00:00:00Z",
"CanceledUtc": null,
"ClosedUtc": null,
"StartUtc": "2023-03-30T22:00:00Z",
"AccountingState": "Open",
"Type": "CityTax",
"Options": {
"CanceledWithReservation": false
},
"Data": null
},
{
"Id": "bd11dc4a-8f9e-442b-bb1e-f5361b31dfa2",
"EnterpriseId": "4d0201db-36f5-428b-8d11-4f0a65e960cc",
"AccountId": "c173bb22-6ff8-4ffd-875f-afb900c92865",
"AccountType": "Company",
"Notes": "Additional note",
"ServiceId": "05089c0c-5d55-4756-827b-c4bcee1edf00",
"ServiceOrderId": "dd01a673-ee6e-4f10-9c93-afcd00759ddd",
"BillId": "297de6f8-bd67-4ebd-98b6-ecc1cd8f920c",
"AccountingCategoryId": "c5819fe7-d67c-4c24-b02e-6ce84a1d3b1d",
"UnitCount": 1,
"UnitAmount": {
"Currency": "EUR",
"NetValue": 93.46,
"GrossValue": 100,
"TaxValues": [
{
"Code": "DE-2020-1-L",
"Value": 6.54
}
],
"Breakdown": {
"Items": [
{
"TaxRateCode": "DE-2020-1-L",
"NetValue": 93.46,
"TaxValue": 6.54
}
]
}
},
"Amount": {
"Currency": "EUR",
"NetValue": 93.46,
"GrossValue": 100,
"TaxValues": [
{
"Code": "DE-2020-1-L",
"Value": 6.54
}
],
"Breakdown": {
"Items": [
{
"TaxRateCode": "DE-2020-1-L",
"NetValue": 93.46,
"TaxValue": 6.54
}
]
}
},
"OriginalAmount": {
"Currency": "EUR",
"NetValue": 93.46,
"GrossValue": 100,
"TaxValues": [
{
"Code": "DE-2020-1-L",
"Value": 6.54
}
],
"Breakdown": {
"Items": [
{
"TaxRateCode": "DE-2020-1-L",
"NetValue": 93.46,
"TaxValue": 6.54
}
]
}
},
"RevenueType": "Service",
"CreatorProfileId": "3cd637ef-4728-47f9-8fb1-afb900c9cdcf",
"UpdaterProfileId": "3cd637ef-4728-47f9-8fb1-afb900c9cdcf",
"CreatedUtc": "2023-03-28T07:28:01Z",
"UpdatedUtc": "2023-03-28T07:28:04Z",
"ConsumedUtc": "2023-03-31T00:00:00Z",
"CanceledUtc": null,
"ClosedUtc": null,
"StartUtc": "2023-03-30T22:00:00Z",
"AccountingState": "Open",
"Type": "SpaceOrder",
"Options": {
"CanceledWithReservation": false
},
"Data": {
"Discriminator": "Product",
"Rebate": null,
"Product": {
"ProductId": "8c8dbd02-f2e2-4845-b964-afb900c8f919",
"AgeCategoryId": null
}
}
}
],
"Cursor": "d98c9611-0006-4691-a835-af2e00b170c4"
}
}
]
}