Put Metadata - Early Access

Resource

https://api.infobip.com/ccaas/1/conversations/{conversationId}/metadata

Path Params

Use this method to put a new metadata. Old metadata will be deleted if exists.

Property name Type Description
*conversationId string Required - Conversations Id to set metadata to

Request Example

					PUT /ccaas/1/conversations/9F1F21C198025CC026956A7E2E9C560F/metadata HTTP/1.1
Host: api.infobip.com
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
Accept: application/json

{
    "Manufacturer": "Mazda",
    "Model": "CX-5",
    "EngineType": "Diesel",
    "EnginePower": 90.0
}
					
				

Response

					{
    "statusCode": "SUCCESS",
    "message": "Metadata added to conversation successfully."
}
					
				
					{
  "statusCode": "ERROR",
  "message": "Invalid id '9F1F21C198025CC026956A7E2E9C560F' given! No such entity exists."
}