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
IntegrationIdqueryGuid?NoThe integration reference ID which is the gateway packet id. If the value passed is empty, new packet record will be created.
TitlequerystringNoName or title of the integration
VersionqueryIntegrationVersionNoVersion information of the integration module.
UserquerystringNoUser who requested the integration
LocalComputerquerystringNoLocal computer where the integration is performed on
WinVersionqueryIntegrationWinVersionNoWindows version information
CompletedqueryboolNoCompleted status of the integration
StatusquerystringNoStatus of the integration.
StartTimequeryDateTimeNoStart date and time of the integration.
EndTimequeryDateTimeNoEnd date and time of the integration.
SettingsFilequeryIntegrationFileModelNoSettings XML being used in the integration.
ResultsFilequeryIntegrationFileModelNoFile (xml) containing the results of the integration
IssuesFilequeryIntegrationFileModelNoFile (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
IntegrationIdformGuidNo
ResponseStatusformResponseStatusNo

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

HTTP + CSV

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: text/csv
Content-Type: text/csv
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: text/csv
Content-Length: length

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