Coruson API

<back to all web services

ImportReportsStatus

Coruson Reports

Requires Authentication
The following routes are available for this service:
GET/api/reports/import/status/{importId}Get the status of imported reportsObtain a list of the reports that have been imported and the report number assigned to them
ImportReportsStatus Parameters:
NameParameterData TypeRequiredDescription
ImportIdpathGuidYesThe Id of the imported reports job that was included in the response of the import reports request
RequestBase Parameters:
NameParameterData TypeRequiredDescription
VersionformintNo
ImportReportsStatusResponse Parameters:
NameParameterData TypeRequiredDescription
ImportedReportsformDictionary<Guid, string>No
TotalReportsImportedformintNo
TotalReportsformintNo
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
StatusDescriptionformstringNo
ResponseStatusformResponseStatusNo

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 /json/reply/ImportReportsStatus HTTP/1.1 
Host: platform.gaelenlighten.com 
Content-Type: application/json
Content-Length: length

{"Version":0}
                    
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ImportedReports":{"00000000-0000-0000-0000-000000000000":"String"},"StatusDescription":"String","TotalReportsImported":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"TotalReports":0}