GET v1/ServiceContract/{id}/MailConfigs
Gets mail config flags for all templates. Mail target flag values: 0 - none, 1 - customer, 2 - location, 3 - customer, location, 4 - delivery address, 5 - customer, delivery address, 6 - location, delivery address, 7 - customer, location, delivery address, null - if a config was never set.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required. |
Body Parameters
None.
Response Information
Resource Description
The mail target flags
Collection of Pair of string [key] and MailTargetFlagEnum [value]Response Formats
application/json, text/json
Sample:
[
{
"Key": "sample string 1",
"Value": 0
},
{
"Key": "sample string 1",
"Value": 0
}
]
application/xml, text/xml
Sample:
<ArrayOfKeyValuePairOfStringNullableOfMailTargetFlagEnum xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <KeyValuePairOfStringNullableOfMailTargetFlagEnum /> <KeyValuePairOfStringNullableOfMailTargetFlagEnum /> </ArrayOfKeyValuePairOfStringNullableOfMailTargetFlagEnum>