| GET | /v1/forms/service-links |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| FormUID | query | Guid? | No | |
| LineId | query | Guid? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Services | form | List<FormServiceLinkView> | No | |
| Forms | form | List<FormServiceLinkForm> | No | |
| Sentence | form | string | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| LineId | form | Guid | No | |
| ServiceName | form | string | No | |
| BranchName | form | string | No | |
| SendsQuestionnaire | form | bool | No | |
| FormUID | form | Guid? | No | |
| FormName | form | string | No | |
| Mine | form | bool | No | |
| Live | form | bool | No | |
| Note | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| FormUID | form | Guid | No | |
| Name | 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.
GET /v1/forms/service-links HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Services:
[
{
LineId: 00000000000000000000000000000000,
ServiceName: String,
BranchName: String,
SendsQuestionnaire: False,
FormUID: 00000000000000000000000000000000,
FormName: String,
Mine: False,
Live: False,
Note: String
}
],
Forms:
[
{
FormUID: 00000000000000000000000000000000,
Name: String
}
],
Sentence: String,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}