| All Verbs | /api/rmsdataexchange/bulk/project | ||
|---|---|---|---|
| All Verbs | /api/rmsdataexchange/bulk/contact | ||
| All Verbs | /api/rmsdataexchange/bulk/lead | ||
| All Verbs | /api/rmsdataexchange/bulk/opportunity | ||
| All Verbs | /api/rmsdataexchange/bulk/prospect |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CustomContents | query | List<SubscriptionCustomContentModel> | Yes | To pass bulk upload of data to save for objects. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| SuiteDataSourceInstanceId | form | Guid | Yes | Guid representing the external systems datasource information. |
| RmsTableCtxId | form | Guid | Yes | Eros RmsTableCtxId of the object we are saving custom content to. |
| AlternateKey | form | string | No | The unique key that represents the object on the external system. |
| ObjectId | form | Guid | No | Guid of the object within Eros. If ObjectId is known, the external system may pass this instead of the alternate key. |
| IgnoreValidation | form | bool | No | |
| RmsFieldCtxId | form | int | Yes | RmsFieldCtxId of the external ECM field that is used to link with the Custom Content Field in Eros. |
| Value | form | string | No | Value to be saved for the object. |
| LicenseeId | form | Guid | No | |
| SessionId | form | Guid | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/rmsdataexchange/bulk/project HTTP/1.1
Host: production-eros-platform-apisubscription.azurewebsites.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
CustomContents:
[
{
AlternateKey: String,
IgnoreValidation: False,
RmsFieldCtxId: 0,
Value: String
}
]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}