Skip to content
On this page

Create Person Csv Export

Accepts requests for generating Person CSV file.

Endpoints

EnvironmentAPI Endpoint
Sandboxhttps://onprem-test.streamline.laboremus.ug/routing/v1/csv/persons

Request

Request Type : POST

Authorization

INFO

Always add your Subscription key to the request.

Content type

application/json

Request Body

NameTypeRequiredDescription
typestringyesType of CSV to be generated
dateRange.fromtateyesStart date to filter from
dateRange.todateyesEnd date to filter to

Example Request Body

json
{
	"type":"IDV",
	"dateRange": {
		"from": "2024-01-01",
		"to": "2024-09-25"
	}
}
{
	"type":"IDV",
	"dateRange": {
		"from": "2024-01-01",
		"to": "2024-09-25"
	}
}

Response

Content type

application/json

Response Body

NameTypeDescription
requestIdstring (uuid)A Guid / uuid / A set of unique Alphanumerical characters assigned to this verification request.
statusbooleanStatus of the request sent to verify
messagestring or nullThe message describing the status of the request

Example Response Body

json
{
	"requestId": "ff7f8d9b-1a07-4881-9d65-afc2fcb7694e",
	"status": true,
	"message": "The csv export message has been queued successfully"
}
{
	"requestId": "ff7f8d9b-1a07-4881-9d65-afc2fcb7694e",
	"status": true,
	"message": "The csv export message has been queued successfully"
}

Error Response

400 Bad Request

application/json

NameTypeDescription
typestring or nullType of error response
titlestring or nullThe title of the error response
statusinteger(int32)The status of the error response
traceIdstring or nullThe traceId of the error request producing the error
errorsobjectObject defining the errors

errors

NameTypeDescription
propertyArray of stringsThe definition of the errors

401 Unauthorized

application/json

NameTypeDescription
errorobject(Error)Type of error response

Error

NameTypeDescription
codestring or nullThe Error code
messagestring or nullThe Error message

403 Forbidden

application/json

NameTypeDescription
errorobject(Error)Type of error response

Error

NameTypeDescription
codestring or nullThe Error code
messagestring or nullThe Error message

404 Not Found

application/json

NameTypeDescription
errorobject(Error)Type of error response

Error

NameTypeDescription
codestring or nullThe Error code
messagestring or nullThe Error message

500 Server Error

application/json

NameTypeDescription
errorobject(Error)Type of error response

Error

NameTypeDescription
codestring or nullThe Error code
messagestring or nullThe Error message

Tech served right