GET v1/ServiceContract/GetContactInfoByEmailAddress?emailAddress={emailAddress}
Try to find all Customer/ServiceContract information based on the provided email address.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| emailAddress | string |
Required. |
Body Parameters
None.
Response Information
Resource Description
Information of related Customer/ServiceContracts, based on provided email address.
Collection of GetContactInfoByEmailAddressResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId |
The Id of the Customer. |
integer |
None. |
| CustomerCultureId |
The Customer Culture Id. |
integer |
None. |
| ContactInfoId |
The Id of the ContactInfo. |
integer |
None. |
| ContactRoleEnumValue |
The role of the ContactInfo, related to the ServiceContract. |
integer |
None. |
| ServiceContractId |
The Id of the ServiceContract. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CustomerId": 1,
"CustomerCultureId": 1,
"ContactInfoId": 1,
"ContactRoleEnumValue": 1,
"ServiceContractId": 1
},
{
"CustomerId": 1,
"CustomerCultureId": 1,
"ContactInfoId": 1,
"ContactRoleEnumValue": 1,
"ServiceContractId": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfGetContactInfoByEmailAddressResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<GetContactInfoByEmailAddressResponse>
<CustomerId>1</CustomerId>
<CustomerCultureId>1</CustomerCultureId>
<ContactInfoId>1</ContactInfoId>
<ContactRoleEnumValue>1</ContactRoleEnumValue>
<ServiceContractId>1</ServiceContractId>
</GetContactInfoByEmailAddressResponse>
<GetContactInfoByEmailAddressResponse>
<CustomerId>1</CustomerId>
<CustomerCultureId>1</CustomerCultureId>
<ContactInfoId>1</ContactInfoId>
<ContactRoleEnumValue>1</ContactRoleEnumValue>
<ServiceContractId>1</ServiceContractId>
</GetContactInfoByEmailAddressResponse>
</ArrayOfGetContactInfoByEmailAddressResponse>