Skip to content

Create a service order

post
https://api.mercadoe.com/v1/service-orders

Create a new service order by providing the code, description, category and other details, if applicable.

Request

Headers

X-ME-CORRELATION-ID
string
Internal client code to be identified in the webhook. It can be, for example, a product code in your ERP, an order number, etc.

Body

application/json
order
string
required
Service order code
description
string
required
Service order description
clientCategoryId
string
required
Client category code
clientOrderId
string
Client service order code
status
string
Service order status
validateDate
date-time | null
Validate date
tolerance
double | null
Service order spending tolerance
originalValue
double | null
Service order original value
balance
double | null
Service order balance
effort
double | null
Reserved value within the service order.
areAllBusinessOrganizationsIncluded
boolean | null
Flag to identify if all business organizations are included
areAllCostCentersIncluded
boolean | null
Flag to identify if all cost centers are included
areAllLedgersIncluded
boolean | null
Flag to identify if all ledgers are included
businessOrganizations
array of object
Business Organizations is a list consisting of the Code (company code) and the EntityType fields.
costCenters
array of object
Cost centers is a list consisting of the costCenter field which is associated with that service order.
ledgers
array of object
Ledgers is a list consisting of the ledger account code which is associated with that service order.

Responses

202
400
Accepted

Body

application/json
correlationId
string