Rsl.Lotteries

<back to all web services

FindActivityById

Find an Activity by Id

The following routes are available for this service:
GET/activities/{Id}
FindActivityById Parameters:
NameParameterData TypeRequiredDescription
IdpathstringNo
Activity Parameters:
NameParameterData TypeRequiredDescription
ActivityIdformstringNo
CustomerIdformstringNo
OrderIdformstringNo
DescriptionformstringNo
AdditionalInformationformstringNo
StartDateformDateTimeNo
DueDateformDateTimeNo
CategoryformActivityCategory?No
PurposeformstringNo
ContactInformationformstringNo
TypeformstringNo
ActionTypeformstringNo
ActivityTypeformstringNo
UserGroupformstringNo
DispatchedformstringNo
DispatchDateTimeformDateTimeNo
ActivityCategory Enum:
NameValue
Appointment1
Task2
Action3
Event4

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.

GET /activities/{Id} HTTP/1.1 
Host: azs-stg-lotteries-web.azurewebsites.net 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"activityId":"String","customerId":"String","orderId":"String","description":"String","additionalInformation":"String","startDate":"0001-01-01T00:00:00.0000000","dueDate":"0001-01-01T00:00:00.0000000","category":"0","purpose":"String","contactInformation":"String","type":"String","actionType":"String","activityType":"String","userGroup":"String","dispatched":"String","dispatchDateTime":"0001-01-01T00:00:00.0000000"}