put https://coreapi.impexdocs.com/api/v1/contactmaster//
Overview
HTTP Method: PUT
Endpoint URL: https://coreapi.impexdocs.com/api/v1/contactmaster/{email}/{companycode}
Authentication: Required
Response Format: JSON
Description
To modify a Contact, make a PUT request to the specified endpoint with the required information. The response will be a JSON object containing:
- Response Code
- Status
- Message
- Result
- Contact Id
- Company Code
Request
Path Parameter
- Company Code (
company_code
): This field defines the company against that contact will be updated. - Contact Email Id (
email
): This field specifies the email address of the contact for unique identification.
Example Path Parameter
https://coreapi.impexdocs.com/api/v1/contactmaster/{email}/{companycode}
Example Request
Ensure to include the Email ID & Company Code in the path and provide any additional fields that need modification in the request JSON.
Response
The API will respond with a JSON object containing:
- Response Code
- Status
- Message
- Result
- Contact Id
- Company Code
Example Response JSON
{
"response_code": 0,
"status": 201,
"message": "Contact Updated successfully.",
"result": {
"partner_id": "105945",
"company_code": "00247"
}
}
Note
- Ensure proper authentication before making the request.
- Provide the necessary fields to be modified in the request JSON.