GET v1/RentalContract/GetContactInfoByEmailAddress?emailAddress={emailAddress}
Try to find all Customer/RentalContract 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/RentalContracts, based on provided email address.
Collection of GetContactInfoByEmailAddressResponseForRentalContract| Name | Description | Type | Additional information |
|---|---|---|---|
| RentalContractId |
The Id of the RentalContract. |
integer |
None. |
| 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. |
Response Formats
application/json, text/json
Sample:
[
{
"RentalContractId": 1,
"CustomerId": 1,
"CustomerCultureId": 1,
"ContactInfoId": 1,
"ContactRoleEnumValue": 1
},
{
"RentalContractId": 1,
"CustomerId": 1,
"CustomerCultureId": 1,
"ContactInfoId": 1,
"ContactRoleEnumValue": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfGetContactInfoByEmailAddressResponseForRentalContract xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<GetContactInfoByEmailAddressResponseForRentalContract>
<CustomerId>1</CustomerId>
<CustomerCultureId>1</CustomerCultureId>
<ContactInfoId>1</ContactInfoId>
<ContactRoleEnumValue>1</ContactRoleEnumValue>
<RentalContractId>1</RentalContractId>
</GetContactInfoByEmailAddressResponseForRentalContract>
<GetContactInfoByEmailAddressResponseForRentalContract>
<CustomerId>1</CustomerId>
<CustomerCultureId>1</CustomerCultureId>
<ContactInfoId>1</ContactInfoId>
<ContactRoleEnumValue>1</ContactRoleEnumValue>
<RentalContractId>1</RentalContractId>
</GetContactInfoByEmailAddressResponseForRentalContract>
</ArrayOfGetContactInfoByEmailAddressResponseForRentalContract>