GET v1/ServiceContract/{id}/MailConfig?template={template}

Gets mail config flag for a specific template. 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

NameDescriptionTypeAdditional information
id

integer

Required.

template

MailTemplateEnum

Required.

Body Parameters

None.

Response Information

Resource Description

The mail target flag

MailTargetFlagEnum

Response Formats

application/json, text/json

Sample:
0

application/xml, text/xml

Sample:
<MailTargetFlagEnum>None</MailTargetFlagEnum>