GET api/CPD/GetCPD?id={id}&userId={userId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
|
userId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
CPDResponseModelName | Description | Type | Additional information |
---|---|---|---|
ActivityTitle | string |
None. |
|
ActivityTypeDescription | string |
None. |
|
ActivityTypeId | string |
None. |
|
CompletionDate | date |
None. |
|
Description | string |
None. |
|
Hours | string |
None. |
|
Points | string |
None. |
|
Venue | string |
None. |
|
Provider | string |
None. |
|
IdentifiedLearningNeeds | string |
None. |
|
Comments | string |
None. |
|
Postcode | string |
None. |
|
Attachments | Collection of DocumentResponseModel |
None. |
|
Result | ResponseResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "ActivityTitle": "sample string 1", "ActivityTypeDescription": "sample string 2", "ActivityTypeId": "sample string 3", "CompletionDate": "2024-11-29T09:38:39.6233417+11:00", "Description": "sample string 4", "Hours": "sample string 5", "Points": "sample string 6", "Venue": "sample string 7", "Provider": "sample string 8", "IdentifiedLearningNeeds": "sample string 9", "Comments": "sample string 10", "Postcode": "sample string 11", "Attachments": [ { "Name": "sample string 1", "NewName": "sample string 2", "Path": "sample string 3", "IsDeleted": true, "Result": { "Success": true, "Message": "sample string 2", "Errors": [ { "Message": "sample string 1" }, { "Message": "sample string 1" } ] } }, { "Name": "sample string 1", "NewName": "sample string 2", "Path": "sample string 3", "IsDeleted": true, "Result": { "Success": true, "Message": "sample string 2", "Errors": [ { "Message": "sample string 1" }, { "Message": "sample string 1" } ] } } ], "Result": { "Success": true, "Message": "sample string 2", "Errors": [ { "Message": "sample string 1" }, { "Message": "sample string 1" } ] } }
application/xml, text/xml
Sample:
<CPDResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bond.Core.API.Models.Response"> <Result> <Errors> <ErrorMessage> <Message>sample string 1</Message> </ErrorMessage> <ErrorMessage> <Message>sample string 1</Message> </ErrorMessage> </Errors> <Message>sample string 2</Message> <Success>true</Success> </Result> <ActivityTitle>sample string 1</ActivityTitle> <ActivityTypeDescription>sample string 2</ActivityTypeDescription> <ActivityTypeId>sample string 3</ActivityTypeId> <Attachments> <DocumentResponseModel> <Result> <Errors> <ErrorMessage> <Message>sample string 1</Message> </ErrorMessage> <ErrorMessage> <Message>sample string 1</Message> </ErrorMessage> </Errors> <Message>sample string 2</Message> <Success>true</Success> </Result> <IsDeleted>true</IsDeleted> <Name>sample string 1</Name> <NewName>sample string 2</NewName> <Path>sample string 3</Path> </DocumentResponseModel> <DocumentResponseModel> <Result> <Errors> <ErrorMessage> <Message>sample string 1</Message> </ErrorMessage> <ErrorMessage> <Message>sample string 1</Message> </ErrorMessage> </Errors> <Message>sample string 2</Message> <Success>true</Success> </Result> <IsDeleted>true</IsDeleted> <Name>sample string 1</Name> <NewName>sample string 2</NewName> <Path>sample string 3</Path> </DocumentResponseModel> </Attachments> <Comments>sample string 10</Comments> <CompletionDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2024-11-28T22:38:39.6233417Z</d2p1:DateTime> <d2p1:OffsetMinutes>660</d2p1:OffsetMinutes> </CompletionDate> <Description>sample string 4</Description> <Hours>sample string 5</Hours> <IdentifiedLearningNeeds>sample string 9</IdentifiedLearningNeeds> <Points>sample string 6</Points> <Postcode>sample string 11</Postcode> <Provider>sample string 8</Provider> <Venue>sample string 7</Venue> </CPDResponseModel>