Mews · Example Payload
Mews Productcategories Getall Example
HospitalityHotelsPMSProperty Management
Mews Productcategories 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": "productCategories_getAll",
"method": "POST",
"path": "/api/connector/v1/productCategories/getAll",
"summary": "Get all product categories",
"requestExamples": [
{
"contentType": "application/json",
"example": {
"ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
"AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
"Client": "Sample Client 1.0.0",
"EnterpriseIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6",
"4d0201db-36f5-428b-8d11-4f0a65e960cc"
],
"ProductCategoryIds": [
"5228623e-b2cf-4f9f-8bd6-71cbe3ec5e6f",
"63bc87d3-edf5-4d06-a601-6052a2ad709d"
],
"ServiceIds": [
"9b3a6c54-63aa-4383-b50e-b0030078184b",
"c0f71466-6c0b-4993-88ac-1794f6b7e958"
],
"UpdatedUtc": {
"StartUtc": "2023-05-05T00:00:00Z",
"EndUtc": "2023-05-10T00:00:00Z"
},
"Limitation": {
"Count": 10
}
}
}
],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"example": {
"ProductCategories": [
{
"Id": "5c0804f9-d03a-4b13-a57d-b00300781a41",
"ServiceId": "9b3a6c54-63aa-4383-b50e-b0030078184b",
"Names": {
"en-US": "Alcohol 1"
},
"ShortNames": {
"en-US": "Alcohol 1"
},
"Descriptions": {},
"ParentProductCategory": [
{
"Id": "0b82f6d8-e5eb-4711-9069-40db2b8d968f"
},
{
"Names": {
"en-US": "Alcoholic beverages"
}
}
],
"CreatedUtc": "2023-06-09T13:32:32Z",
"UpdatedUtc": "2023-06-09T13:32:32Z",
"Ordering": 1
},
{
"Id": "f0709b02-f1a4-46b2-9c1e-744b5ecd6980",
"ServiceId": "9b3a6c54-63aa-4383-b50e-b0030078184b",
"Names": {
"en-US": "Lemonade 1"
},
"ShortNames": {
"en-US": "Lemonade 1"
},
"Descriptions": {},
"ParentProductCategory": [
{
"Id": "aa4f3930-3f9d-4df7-9c6b-5aba5b2f6f7e"
},
{
"Names": {
"en-US": "Lemonades"
}
}
],
"CreatedUtc": "2023-06-09T13:32:32Z",
"UpdatedUtc": "2023-06-09T13:32:32Z",
"Ordering": 1
}
],
"Cursor": "f0709b02-f1a4-46b2-9c1e-744b5ecd6980"
}
}
]
}