GET api/Peak/GetPeakContactByPeakCode?peakCode={peakCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
peakCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
PeakContactListViewName | Description | Type | Additional information |
---|---|---|---|
PeakContacts | PeakContactDetailView |
None. |
Response Formats
application/json, text/json
Sample:
{ "peakContacts": { "contacts": [ { "id": "sample string 1", "name": "sample string 2", "code": "sample string 3", "type": 4, "taxNumber": "sample string 5", "branchCode": "sample string 6", "address": "sample string 7", "subDistrict": "sample string 8", "district": "sample string 9", "province": "sample string 10", "country": "sample string 11", "postCode": "sample string 12", "callcenterNumber": "sample string 13", "faxNumber": "sample string 14", "email": "sample string 15", "website": "sample string 16", "contactFirstName": "sample string 17", "contactLastName": "sample string 18", "contactNickName": "sample string 19", "contactPosition": "sample string 20", "contactPhoneNumber": "sample string 21", "contactEmail": "sample string 22", "resCode": "sample string 23", "resDesc": "sample string 24" }, { "id": "sample string 1", "name": "sample string 2", "code": "sample string 3", "type": 4, "taxNumber": "sample string 5", "branchCode": "sample string 6", "address": "sample string 7", "subDistrict": "sample string 8", "district": "sample string 9", "province": "sample string 10", "country": "sample string 11", "postCode": "sample string 12", "callcenterNumber": "sample string 13", "faxNumber": "sample string 14", "email": "sample string 15", "website": "sample string 16", "contactFirstName": "sample string 17", "contactLastName": "sample string 18", "contactNickName": "sample string 19", "contactPosition": "sample string 20", "contactPhoneNumber": "sample string 21", "contactEmail": "sample string 22", "resCode": "sample string 23", "resDesc": "sample string 24" } ], "totalContact": 1, "resCode": "sample string 2", "resDesc": "sample string 3" } }
text/html
Sample:
{"peakContacts":{"contacts":[{"id":"sample string 1","name":"sample string 2","code":"sample string 3","type":4,"taxNumber":"sample string 5","branchCode":"sample string 6","address":"sample string 7","subDistrict":"sample string 8","district":"sample string 9","province":"sample string 10","country":"sample string 11","postCode":"sample string 12","callcenterNumber":"sample string 13","faxNumber":"sample string 14","email":"sample string 15","website":"sample string 16","contactFirstName":"sample string 17","contactLastName":"sample string 18","contactNickName":"sample string 19","contactPosition":"sample string 20","contactPhoneNumber":"sample string 21","contactEmail":"sample string 22","resCode":"sample string 23","resDesc":"sample string 24"},{"id":"sample string 1","name":"sample string 2","code":"sample string 3","type":4,"taxNumber":"sample string 5","branchCode":"sample string 6","address":"sample string 7","subDistrict":"sample string 8","district":"sample string 9","province":"sample string 10","country":"sample string 11","postCode":"sample string 12","callcenterNumber":"sample string 13","faxNumber":"sample string 14","email":"sample string 15","website":"sample string 16","contactFirstName":"sample string 17","contactLastName":"sample string 18","contactNickName":"sample string 19","contactPosition":"sample string 20","contactPhoneNumber":"sample string 21","contactEmail":"sample string 22","resCode":"sample string 23","resDesc":"sample string 24"}],"totalContact":1,"resCode":"sample string 2","resDesc":"sample string 3"}}
application/xml, text/xml
Sample:
<PeakContactListView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Models.PeakApi"> <PeakContacts> <ResCode>sample string 2</ResCode> <ResDesc>sample string 3</ResDesc> <TotalContact>1</TotalContact> <Contacts> <ContactView> <Address>sample string 7</Address> <BranchCode>sample string 6</BranchCode> <CallcenterNumber>sample string 13</CallcenterNumber> <Code>sample string 3</Code> <ContactEmail>sample string 22</ContactEmail> <ContactFirstName>sample string 17</ContactFirstName> <ContactLastName>sample string 18</ContactLastName> <ContactNickName>sample string 19</ContactNickName> <ContactPhoneNumber>sample string 21</ContactPhoneNumber> <ContactPosition>sample string 20</ContactPosition> <Country>sample string 11</Country> <District>sample string 9</District> <Email>sample string 15</Email> <FaxNumber>sample string 14</FaxNumber> <Id>sample string 1</Id> <Name>sample string 2</Name> <PostCode>sample string 12</PostCode> <Province>sample string 10</Province> <ResCode>sample string 23</ResCode> <ResDesc>sample string 24</ResDesc> <SubDistrict>sample string 8</SubDistrict> <TaxNumber>sample string 5</TaxNumber> <Type>4</Type> <Website>sample string 16</Website> </ContactView> <ContactView> <Address>sample string 7</Address> <BranchCode>sample string 6</BranchCode> <CallcenterNumber>sample string 13</CallcenterNumber> <Code>sample string 3</Code> <ContactEmail>sample string 22</ContactEmail> <ContactFirstName>sample string 17</ContactFirstName> <ContactLastName>sample string 18</ContactLastName> <ContactNickName>sample string 19</ContactNickName> <ContactPhoneNumber>sample string 21</ContactPhoneNumber> <ContactPosition>sample string 20</ContactPosition> <Country>sample string 11</Country> <District>sample string 9</District> <Email>sample string 15</Email> <FaxNumber>sample string 14</FaxNumber> <Id>sample string 1</Id> <Name>sample string 2</Name> <PostCode>sample string 12</PostCode> <Province>sample string 10</Province> <ResCode>sample string 23</ResCode> <ResDesc>sample string 24</ResDesc> <SubDistrict>sample string 8</SubDistrict> <TaxNumber>sample string 5</TaxNumber> <Type>4</Type> <Website>sample string 16</Website> </ContactView> </Contacts> </PeakContacts> </PeakContactListView>