post https://coreapi.impexdocs.com/api/v1/contactmaster
Overview
HTTP Method: POST
Endpoint URL: https://coreapi.impexdocs.com/api/v1/contactmaster
Authentication: Required
Response Format: JSON
Description
To create a Contact, make a POST request to the specified endpoint with the required information. The response will be a JSON object containing the following:
- Response Code
- Status
- Message
- Result
- Contact ID
- Company Code
Request
To create a Contact, provide the following mandatory inputs in the request JSON:
-
Company Code (
company_code
): This field defines the company against that contact will be added. -
Contact Name (
first_name
): This field defines the name of the Contact. -
Contact Email Id (
email_1
): This field specifies the email address of the contact for unique identification.
Response
The API will respond with a JSON object containing the following:
- Response Code
- Status
- Message
- Result
- Contact Id
- Company Code
Example Response JSON
{
"response_code": 0,
"status": 201,
"message": "Created",
"result": {
"partner_id": "105945",
"company_code": "00247"
}
}
Note
- Ensure proper authentication before making the request.