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 .jsv suffix or ?format=jsv

HTTP + JSV

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

                    POST /jsv/reply/ImportReportsStatus HTTP/1.1 
Host: platform.gaelenlighten.com 
Content-Type: text/jsv
Content-Length: length

{
	Version: 0
}
                    
HTTP/1.1 200 OK
Content-Type: text/jsv
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
}