GET api/Alternate_Domain?customerId={customerId}
Retrieves the alternate domains associated with a customer.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
customerId | The Id of the customer |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
[ { "customer_id": 1, "name": "sample string 2", "id": 1 }, { "customer_id": 1, "name": "sample string 2", "id": 1 }, { "customer_id": 1, "name": "sample string 2", "id": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfalternate_domain xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api.Org"> <alternate_domain> <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id> <customer_id>1</customer_id> <name>sample string 2</name> </alternate_domain> <alternate_domain> <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id> <customer_id>1</customer_id> <name>sample string 2</name> </alternate_domain> <alternate_domain> <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id> <customer_id>1</customer_id> <name>sample string 2</name> </alternate_domain> </ArrayOfalternate_domain>