GET api/Service/GetCustContacts?cust_num={cust_num}&service_code={service_code}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| cust_num | integer |
Required |
|
| service_code | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of CustContact| Name | Description | Type | Additional information |
|---|---|---|---|
| contact_code | integer |
None. |
|
| id_num | string |
Matching regular expression pattern: ^[0-9]{9}$|null String length: inclusive between 0 and 9 |
|
| degree | string |
String length: inclusive between 0 and 40 |
|
| last_name | string |
String length: inclusive between 0 and 40 |
|
| first_name | string |
String length: inclusive between 0 and 40 |
|
| office_phone | string |
String length: inclusive between 0 and 12 |
|
| mobile_phone | string |
String length: inclusive between 0 and 12 |
|
| fax | string |
String length: inclusive between 0 and 12 |
|
| string |
Max length: 60 |
||
| remarks | string |
String length: inclusive between 0 and 400 |
|
| born | date |
None. |
|
| represents_type | integer |
None. |
|
| cust_num | integer |
None. |
|
| service_code | integer |
None. |
|
| table_text | string |
String length: inclusive between 0 and 20 |
Response Formats
application/json, text/json
Sample:
[
{
"contact_code": 1,
"id_num": "sample string 2",
"degree": "sample string 3",
"last_name": "sample string 4",
"first_name": "sample string 5",
"office_phone": "sample string 6",
"mobile_phone": "sample string 7",
"fax": "sample string 8",
"email": "sample string 9",
"remarks": "sample string 10",
"born": "2026-04-17T13:22:47.3673465+03:00",
"represents_type": 1,
"cust_num": 11,
"service_code": 1,
"table_text": "sample string 12"
},
{
"contact_code": 1,
"id_num": "sample string 2",
"degree": "sample string 3",
"last_name": "sample string 4",
"first_name": "sample string 5",
"office_phone": "sample string 6",
"mobile_phone": "sample string 7",
"fax": "sample string 8",
"email": "sample string 9",
"remarks": "sample string 10",
"born": "2026-04-17T13:22:47.3673465+03:00",
"represents_type": 1,
"cust_num": 11,
"service_code": 1,
"table_text": "sample string 12"
}
]
application/xml, text/xml
Sample:
<ArrayOfCustContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
<CustContact>
<born>2026-04-17T13:22:47.3673465+03:00</born>
<contact_code>1</contact_code>
<cust_num>11</cust_num>
<degree>sample string 3</degree>
<email>sample string 9</email>
<fax>sample string 8</fax>
<first_name>sample string 5</first_name>
<id_num>sample string 2</id_num>
<last_name>sample string 4</last_name>
<mobile_phone>sample string 7</mobile_phone>
<office_phone>sample string 6</office_phone>
<remarks>sample string 10</remarks>
<represents_type>1</represents_type>
<service_code>1</service_code>
<table_text>sample string 12</table_text>
</CustContact>
<CustContact>
<born>2026-04-17T13:22:47.3673465+03:00</born>
<contact_code>1</contact_code>
<cust_num>11</cust_num>
<degree>sample string 3</degree>
<email>sample string 9</email>
<fax>sample string 8</fax>
<first_name>sample string 5</first_name>
<id_num>sample string 2</id_num>
<last_name>sample string 4</last_name>
<mobile_phone>sample string 7</mobile_phone>
<office_phone>sample string 6</office_phone>
<remarks>sample string 10</remarks>
<represents_type>1</represents_type>
<service_code>1</service_code>
<table_text>sample string 12</table_text>
</CustContact>
</ArrayOfCustContact>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.