Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SuiteDataSourceInstanceId | query | Guid | Yes | Guid representing the external systems datasource information. |
AlternateKey | query | string | No | The unique key that represents the communication on the external system. |
ObjectId | query | Guid | Yes | Guid of the communication object within Eros. If ObjectId is known, the external system may pass this insted of the alternate key. |
IgnoreValidation | query | bool | No | |
CommunicationStatusId | query | Guid | Yes | Communication Status Id. |
CommunicationXml | query | string | Yes | XML containing the content of the communication. |
ObjectIdPrepositional | query | Guid | Yes | Guid of the object this communication is related to. |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /csv/reply/SaveCommunication HTTP/1.1
Host: production-eros-platform-apisubscription.azurewebsites.net
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"AlternateKey":"String","IgnoreValidation":false,"CommunicationXml":"String"}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}