NOTE: Please replace with your sub domain name in the API.
Authentication:
TTo access this API endpoint, you need to include your user name and password in the Authorization header. For authentication, use the following header, which will help you generate your Basic Auth token:
Basic <Your Token>
Request Body
The request body should be a JSON object containing the list of the orders existing in the system. Here are the list of parameters.
Note: Atleast one of the value must be entered out of name, enquiryIds, generationStartDate, generationEndDate, nextFollowupStartDate, nextFollowupEndDate, lastFollowupStartDate, lastFollowupEndDate, expectedClosureStartDate, expectedClosureEndDate, customerIds, statusStr, subStatusStr, creatorOrAssignedIdStr, assignToIdsStr, creatorIdStr, notAssignToIdsStr, country, city, state, leadPriorityStr, secondarySourceId, clientReferenceIds, approvedIds, pricingStatus, attr1, attr2, attr3, attr4, attr5, attr6, attr7, attr8, attr9, attr10, attr11, attr12, attr13, attr14, attr15
Name
Mandatory
Type
Description
{"cmId":1000298,//Required field, value must be > 0."name":"","phone":"","email":"","customerIds":"191696570","leadIdStr":"","enquiryIds":"","clientReferenceIds":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","attr10":"","attr11":"","attr12":"","attr13":"","attr14":"","attr15":"","viewId":"2","orderIds":"","erpOrderId":"","createStartDate":"","createEndDate":"","bookingStatus":"","bookingSubStatus":"","bookingStartDate":"","bookingEndDate":"","creatorIdStr":"","assignIdStr":"","zoneIdStr":"","blockId":"","unitId":"","approvalDesignationIds":"","agreementStartDate":"","agreementEndDate":"","erpInvoiceId":"","sortParam":"","limit":"","offset":""}
Please map in the request body if there's any extra associate body according to your use case.
Response Body
The API responds with a JSON object containing the details of the added order against the customer. If successful, the response will include the customer ID, order ID and the other relevant information.