| All Verbs | /clients/documents |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ClientId | query | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | List<ClientDocument> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| ClientId | form | int | No | |
| ClientGoalResultsId | form | int? | No | |
| Title | form | string | No | |
| Subject | form | string | No | |
| Message | form | string | No | |
| Files | form | List<FileContainer> | No | |
| Signatures | form | List<Signature> | No | |
| CcEmailAddresses | form | List<string> | No | |
| BatchId | form | int | No | |
| Status | form | string | No | |
| CreatedAsAt | form | DateTime | No | |
| UpdatedAsAt | form | DateTime | No | |
| Birthday | form | DateTime | No | |
| ExternalSignatureRequestId | form | string | No | |
| ExternalSignatureType | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Filename | form | string | No | |
| Path | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Name | form | string | No | |
| form | string | No |
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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /clients/documents HTTP/1.1
Host: api.portfoliolink.co.za
Accept: application/json
Content-Type: application/json
Content-Length: length
{"clientId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"result":[{"id":0,"clientId":0,"clientGoalResultsId":0,"title":"String","subject":"String","message":"String","files":[{"filename":"String","path":"String"}],"signatures":[{"name":"String","email":"String"}],"ccEmailAddresses":["String"],"batchId":0,"status":"String","createdAsAt":"0001-01-01T00:00:00.0000000","updatedAsAt":"0001-01-01T00:00:00.0000000","birthday":"0001-01-01T00:00:00.0000000","externalSignatureRequestId":"String","externalSignatureType":"String"}]}