GET api/CustomerDetails/GetServiceAddress?APiToken={APiToken}&CustomerID={CustomerID}&ServiceAddressID={ServiceAddressID}&PageNumber={PageNumber}&PageSize={PageSize}&SearchText={SearchText}
Api to get Customer Service Address
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
APiToken | string |
None. |
|
CustomerID | integer |
None. |
|
ServiceAddressID | integer |
None. |
|
PageNumber | integer |
None. |
|
PageSize | integer |
None. |
|
SearchText | string |
None. |
Body Parameters
None.
Response Information
Resource Description
CustomerServiceAddressResponseDataModelName | Description | Type | Additional information |
---|---|---|---|
ServiceAddress | Collection of CustomerServiceAddressDataModel |
None. |
|
ReturnID | integer |
Required |
|
Message | string |
Required |
|
Successful | boolean |
Required |
|
Code | integer |
None. |
|
TotalRecord | integer |
None. |
Response Formats
application/json, text/json, text/plain, text/html
Sample:
{ "serviceAddress": [ { "addressType": 1, "addressTypeText": "sample string 2", "serviceAddressID": 3, "customerID": 4, "servicePerson1FirstName": "sample string 5", "servicePerson1LastName": "sample string 6", "servicePerson1Email": "sample string 7", "servicePerson1PhoneCode": "sample string 8", "servicePerson1PhoneNumber": "sample string 9", "servicePerson2FirstName": "sample string 10", "servicePerson2LastName": "sample string 11", "servicePerson2Email": "sample string 12", "servicePerson2PhoneCode": "sample string 13", "servicePerson2PhoneNumber": "sample string 14", "servicePerson3FirstName": "sample string 15", "servicePerson3LastName": "sample string 16", "servicePerson3Email": "sample string 17", "servicePerson3PhoneCode": "sample string 18", "servicePerson3PhoneNumber": "sample string 19", "propertyName": "sample string 20", "address1": "sample string 21", "address2": "sample string 22", "unit": "sample string 23", "crossStreet1": "sample string 24", "crossStreet2": "sample string 25", "emailID": "sample string 26", "multipleEmails": "sample string 27", "countryID": 1, "country": "sample string 28", "stateID": 1, "state": "sample string 29", "cityID": 1, "city": "sample string 30", "zipCode": "sample string 31", "adminNote": "sample string 32", "totalCount": 33 }, { "addressType": 1, "addressTypeText": "sample string 2", "serviceAddressID": 3, "customerID": 4, "servicePerson1FirstName": "sample string 5", "servicePerson1LastName": "sample string 6", "servicePerson1Email": "sample string 7", "servicePerson1PhoneCode": "sample string 8", "servicePerson1PhoneNumber": "sample string 9", "servicePerson2FirstName": "sample string 10", "servicePerson2LastName": "sample string 11", "servicePerson2Email": "sample string 12", "servicePerson2PhoneCode": "sample string 13", "servicePerson2PhoneNumber": "sample string 14", "servicePerson3FirstName": "sample string 15", "servicePerson3LastName": "sample string 16", "servicePerson3Email": "sample string 17", "servicePerson3PhoneCode": "sample string 18", "servicePerson3PhoneNumber": "sample string 19", "propertyName": "sample string 20", "address1": "sample string 21", "address2": "sample string 22", "unit": "sample string 23", "crossStreet1": "sample string 24", "crossStreet2": "sample string 25", "emailID": "sample string 26", "multipleEmails": "sample string 27", "countryID": 1, "country": "sample string 28", "stateID": 1, "state": "sample string 29", "cityID": 1, "city": "sample string 30", "zipCode": "sample string 31", "adminNote": "sample string 32", "totalCount": 33 } ], "returnID": 1, "message": "sample string 2", "successful": true, "code": 4, "totalRecord": 5 }
application/xml, text/xml
Sample:
<CustomerServiceAddressResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel"> <Code xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">4</Code> <Message xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">sample string 2</Message> <ReturnID xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">1</ReturnID> <Successful xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">true</Successful> <TotalRecord xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">5</TotalRecord> <ServiceAddress xmlns:d2p1="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel"> <d2p1:CustomerServiceAddressDataModel> <d2p1:Address1>sample string 21</d2p1:Address1> <d2p1:Address2>sample string 22</d2p1:Address2> <d2p1:AddressType>1</d2p1:AddressType> <d2p1:AddressTypeText>sample string 2</d2p1:AddressTypeText> <d2p1:AdminNote>sample string 32</d2p1:AdminNote> <d2p1:City>sample string 30</d2p1:City> <d2p1:CityID>1</d2p1:CityID> <d2p1:Country>sample string 28</d2p1:Country> <d2p1:CountryID>1</d2p1:CountryID> <d2p1:CrossStreet1>sample string 24</d2p1:CrossStreet1> <d2p1:CrossStreet2>sample string 25</d2p1:CrossStreet2> <d2p1:CustomerID>4</d2p1:CustomerID> <d2p1:EmailID>sample string 26</d2p1:EmailID> <d2p1:MultipleEmails>sample string 27</d2p1:MultipleEmails> <d2p1:PropertyName>sample string 20</d2p1:PropertyName> <d2p1:ServiceAddressID>3</d2p1:ServiceAddressID> <d2p1:ServicePerson1Email>sample string 7</d2p1:ServicePerson1Email> <d2p1:ServicePerson1FirstName>sample string 5</d2p1:ServicePerson1FirstName> <d2p1:ServicePerson1LastName>sample string 6</d2p1:ServicePerson1LastName> <d2p1:ServicePerson1PhoneCode>sample string 8</d2p1:ServicePerson1PhoneCode> <d2p1:ServicePerson1PhoneNumber>sample string 9</d2p1:ServicePerson1PhoneNumber> <d2p1:ServicePerson2Email>sample string 12</d2p1:ServicePerson2Email> <d2p1:ServicePerson2FirstName>sample string 10</d2p1:ServicePerson2FirstName> <d2p1:ServicePerson2LastName>sample string 11</d2p1:ServicePerson2LastName> <d2p1:ServicePerson2PhoneCode>sample string 13</d2p1:ServicePerson2PhoneCode> <d2p1:ServicePerson2PhoneNumber>sample string 14</d2p1:ServicePerson2PhoneNumber> <d2p1:ServicePerson3Email>sample string 17</d2p1:ServicePerson3Email> <d2p1:ServicePerson3FirstName>sample string 15</d2p1:ServicePerson3FirstName> <d2p1:ServicePerson3LastName>sample string 16</d2p1:ServicePerson3LastName> <d2p1:ServicePerson3PhoneCode>sample string 18</d2p1:ServicePerson3PhoneCode> <d2p1:ServicePerson3PhoneNumber>sample string 19</d2p1:ServicePerson3PhoneNumber> <d2p1:State>sample string 29</d2p1:State> <d2p1:StateID>1</d2p1:StateID> <d2p1:TotalCount>33</d2p1:TotalCount> <d2p1:Unit>sample string 23</d2p1:Unit> <d2p1:ZipCode>sample string 31</d2p1:ZipCode> </d2p1:CustomerServiceAddressDataModel> <d2p1:CustomerServiceAddressDataModel> <d2p1:Address1>sample string 21</d2p1:Address1> <d2p1:Address2>sample string 22</d2p1:Address2> <d2p1:AddressType>1</d2p1:AddressType> <d2p1:AddressTypeText>sample string 2</d2p1:AddressTypeText> <d2p1:AdminNote>sample string 32</d2p1:AdminNote> <d2p1:City>sample string 30</d2p1:City> <d2p1:CityID>1</d2p1:CityID> <d2p1:Country>sample string 28</d2p1:Country> <d2p1:CountryID>1</d2p1:CountryID> <d2p1:CrossStreet1>sample string 24</d2p1:CrossStreet1> <d2p1:CrossStreet2>sample string 25</d2p1:CrossStreet2> <d2p1:CustomerID>4</d2p1:CustomerID> <d2p1:EmailID>sample string 26</d2p1:EmailID> <d2p1:MultipleEmails>sample string 27</d2p1:MultipleEmails> <d2p1:PropertyName>sample string 20</d2p1:PropertyName> <d2p1:ServiceAddressID>3</d2p1:ServiceAddressID> <d2p1:ServicePerson1Email>sample string 7</d2p1:ServicePerson1Email> <d2p1:ServicePerson1FirstName>sample string 5</d2p1:ServicePerson1FirstName> <d2p1:ServicePerson1LastName>sample string 6</d2p1:ServicePerson1LastName> <d2p1:ServicePerson1PhoneCode>sample string 8</d2p1:ServicePerson1PhoneCode> <d2p1:ServicePerson1PhoneNumber>sample string 9</d2p1:ServicePerson1PhoneNumber> <d2p1:ServicePerson2Email>sample string 12</d2p1:ServicePerson2Email> <d2p1:ServicePerson2FirstName>sample string 10</d2p1:ServicePerson2FirstName> <d2p1:ServicePerson2LastName>sample string 11</d2p1:ServicePerson2LastName> <d2p1:ServicePerson2PhoneCode>sample string 13</d2p1:ServicePerson2PhoneCode> <d2p1:ServicePerson2PhoneNumber>sample string 14</d2p1:ServicePerson2PhoneNumber> <d2p1:ServicePerson3Email>sample string 17</d2p1:ServicePerson3Email> <d2p1:ServicePerson3FirstName>sample string 15</d2p1:ServicePerson3FirstName> <d2p1:ServicePerson3LastName>sample string 16</d2p1:ServicePerson3LastName> <d2p1:ServicePerson3PhoneCode>sample string 18</d2p1:ServicePerson3PhoneCode> <d2p1:ServicePerson3PhoneNumber>sample string 19</d2p1:ServicePerson3PhoneNumber> <d2p1:State>sample string 29</d2p1:State> <d2p1:StateID>1</d2p1:StateID> <d2p1:TotalCount>33</d2p1:TotalCount> <d2p1:Unit>sample string 23</d2p1:Unit> <d2p1:ZipCode>sample string 31</d2p1:ZipCode> </d2p1:CustomerServiceAddressDataModel> </ServiceAddress> </CustomerServiceAddressResponseDataModel>
multipart/form-data
Sample:
<CustomerServiceAddressResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel"><Code xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">4</Code><Message xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">sample string 2</Message><ReturnID xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">1</ReturnID><Successful xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">true</Successful><TotalRecord xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">5</TotalRecord><ServiceAddress xmlns:d2p1="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel"><d2p1:CustomerServiceAddressDataModel><d2p1:Address1>sample string 21</d2p1:Address1><d2p1:Address2>sample string 22</d2p1:Address2><d2p1:AddressType>1</d2p1:AddressType><d2p1:AddressTypeText>sample string 2</d2p1:AddressTypeText><d2p1:AdminNote>sample string 32</d2p1:AdminNote><d2p1:City>sample string 30</d2p1:City><d2p1:CityID>1</d2p1:CityID><d2p1:Country>sample string 28</d2p1:Country><d2p1:CountryID>1</d2p1:CountryID><d2p1:CrossStreet1>sample string 24</d2p1:CrossStreet1><d2p1:CrossStreet2>sample string 25</d2p1:CrossStreet2><d2p1:CustomerID>4</d2p1:CustomerID><d2p1:EmailID>sample string 26</d2p1:EmailID><d2p1:MultipleEmails>sample string 27</d2p1:MultipleEmails><d2p1:PropertyName>sample string 20</d2p1:PropertyName><d2p1:ServiceAddressID>3</d2p1:ServiceAddressID><d2p1:ServicePerson1Email>sample string 7</d2p1:ServicePerson1Email><d2p1:ServicePerson1FirstName>sample string 5</d2p1:ServicePerson1FirstName><d2p1:ServicePerson1LastName>sample string 6</d2p1:ServicePerson1LastName><d2p1:ServicePerson1PhoneCode>sample string 8</d2p1:ServicePerson1PhoneCode><d2p1:ServicePerson1PhoneNumber>sample string 9</d2p1:ServicePerson1PhoneNumber><d2p1:ServicePerson2Email>sample string 12</d2p1:ServicePerson2Email><d2p1:ServicePerson2FirstName>sample string 10</d2p1:ServicePerson2FirstName><d2p1:ServicePerson2LastName>sample string 11</d2p1:ServicePerson2LastName><d2p1:ServicePerson2PhoneCode>sample string 13</d2p1:ServicePerson2PhoneCode><d2p1:ServicePerson2PhoneNumber>sample string 14</d2p1:ServicePerson2PhoneNumber><d2p1:ServicePerson3Email>sample string 17</d2p1:ServicePerson3Email><d2p1:ServicePerson3FirstName>sample string 15</d2p1:ServicePerson3FirstName><d2p1:ServicePerson3LastName>sample string 16</d2p1:ServicePerson3LastName><d2p1:ServicePerson3PhoneCode>sample string 18</d2p1:ServicePerson3PhoneCode><d2p1:ServicePerson3PhoneNumber>sample string 19</d2p1:ServicePerson3PhoneNumber><d2p1:State>sample string 29</d2p1:State><d2p1:StateID>1</d2p1:StateID><d2p1:TotalCount>33</d2p1:TotalCount><d2p1:Unit>sample string 23</d2p1:Unit><d2p1:ZipCode>sample string 31</d2p1:ZipCode></d2p1:CustomerServiceAddressDataModel><d2p1:CustomerServiceAddressDataModel><d2p1:Address1>sample string 21</d2p1:Address1><d2p1:Address2>sample string 22</d2p1:Address2><d2p1:AddressType>1</d2p1:AddressType><d2p1:AddressTypeText>sample string 2</d2p1:AddressTypeText><d2p1:AdminNote>sample string 32</d2p1:AdminNote><d2p1:City>sample string 30</d2p1:City><d2p1:CityID>1</d2p1:CityID><d2p1:Country>sample string 28</d2p1:Country><d2p1:CountryID>1</d2p1:CountryID><d2p1:CrossStreet1>sample string 24</d2p1:CrossStreet1><d2p1:CrossStreet2>sample string 25</d2p1:CrossStreet2><d2p1:CustomerID>4</d2p1:CustomerID><d2p1:EmailID>sample string 26</d2p1:EmailID><d2p1:MultipleEmails>sample string 27</d2p1:MultipleEmails><d2p1:PropertyName>sample string 20</d2p1:PropertyName><d2p1:ServiceAddressID>3</d2p1:ServiceAddressID><d2p1:ServicePerson1Email>sample string 7</d2p1:ServicePerson1Email><d2p1:ServicePerson1FirstName>sample string 5</d2p1:ServicePerson1FirstName><d2p1:ServicePerson1LastName>sample string 6</d2p1:ServicePerson1LastName><d2p1:ServicePerson1PhoneCode>sample string 8</d2p1:ServicePerson1PhoneCode><d2p1:ServicePerson1PhoneNumber>sample string 9</d2p1:ServicePerson1PhoneNumber><d2p1:ServicePerson2Email>sample string 12</d2p1:ServicePerson2Email><d2p1:ServicePerson2FirstName>sample string 10</d2p1:ServicePerson2FirstName><d2p1:ServicePerson2LastName>sample string 11</d2p1:ServicePerson2LastName><d2p1:ServicePerson2PhoneCode>sample string 13</d2p1:ServicePerson2PhoneCode><d2p1:ServicePerson2PhoneNumber>sample string 14</d2p1:ServicePerson2PhoneNumber><d2p1:ServicePerson3Email>sample string 17</d2p1:ServicePerson3Email><d2p1:ServicePerson3FirstName>sample string 15</d2p1:ServicePerson3FirstName><d2p1:ServicePerson3LastName>sample string 16</d2p1:ServicePerson3LastName><d2p1:ServicePerson3PhoneCode>sample string 18</d2p1:ServicePerson3PhoneCode><d2p1:ServicePerson3PhoneNumber>sample string 19</d2p1:ServicePerson3PhoneNumber><d2p1:State>sample string 29</d2p1:State><d2p1:StateID>1</d2p1:StateID><d2p1:TotalCount>33</d2p1:TotalCount><d2p1:Unit>sample string 23</d2p1:Unit><d2p1:ZipCode>sample string 31</d2p1:ZipCode></d2p1:CustomerServiceAddressDataModel></ServiceAddress></CustomerServiceAddressResponseDataModel>