Platform Subscription API

<back to all web services

SaveIntegration

Requires Authentication
The following routes are available for this service:
All Verbs/api/integration
SaveIntegration Parameters:
NameParameterData TypeRequiredDescription
IntegrationIdbodyGuid?NoThe integration reference ID which is the gateway packet id. If the value passed is empty, new packet record will be created.
TitlebodystringNoName or title of the integration
VersionbodyIntegrationVersionNoVersion information of the integration module.
UserbodystringNoUser who requested the integration
LocalComputerbodystringNoLocal computer where the integration is performed on
WinVersionbodyIntegrationWinVersionNoWindows version information
CompletedbodyboolNoCompleted status of the integration
StatusbodystringNoStatus of the integration.
StartTimebodyDateTimeNoStart date and time of the integration.
EndTimebodyDateTimeNoEnd date and time of the integration.
SettingsFilebodyIntegrationFileModelNoSettings XML being used in the integration.
ResultsFilebodyIntegrationFileModelNoFile (xml) containing the results of the integration
IssuesFilebodyIntegrationFileModelNoFile (xml) containing the issues that were identified during integration
IntegrationVersion Parameters:
NameParameterData TypeRequiredDescription
MajorformintNo
MinorformintNo
BuildformintNo
RevisionformintNo
IntegrationWinVersion Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
VersionformstringNo
BuildformintNo
ServicePackformstringNo
IntegrationFileModel Parameters:
NameParameterData TypeRequiredDescription
indexformintNo
NameformstringNo
ContentformstringNo
ContentTypeformstringNo
FileSizeKBformintNo
BlobUriformstringNo
CreatedDateformDateTimeNo
NotesformstringNo
SaveIntegrationResponse Parameters:
NameParameterData TypeRequiredDescription
IntegrationIdbodyGuidNoId of the Gateway Request
ResponseStatusbodyResponseStatusNoResponse Status

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /api/integration HTTP/1.1 
Host: production-eros-platform-apisubscription.azurewebsites.net 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Title":"String","Version":{"Major":0,"Minor":0,"Build":0,"Revision":0},"User":"String","LocalComputer":"String","WinVersion":{"Name":"String","Version":"String","Build":0,"ServicePack":"String"},"Completed":false,"Status":"String","StartTime":"0001-01-01T00:00:00.0000000","EndTime":"0001-01-01T00:00:00.0000000","SettingsFile":{"index":0,"Name":"String","Content":"String","ContentType":"String","FileSizeKB":0,"BlobUri":"String","CreatedDate":"0001-01-01T00:00:00.0000000","Notes":"String"},"ResultsFile":{"index":0,"Name":"String","Content":"String","ContentType":"String","FileSizeKB":0,"BlobUri":"String","CreatedDate":"0001-01-01T00:00:00.0000000","Notes":"String"},"IssuesFile":{"index":0,"Name":"String","Content":"String","ContentType":"String","FileSizeKB":0,"BlobUri":"String","CreatedDate":"0001-01-01T00:00:00.0000000","Notes":"String"}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}