| 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 .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
clientId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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-01,
updatedAsAt: 0001-01-01,
birthday: 0001-01-01,
externalSignatureRequestId: String,
externalSignatureType: String
}
]
}