GET api/TablesManagement/GetCompaniesForUpdate
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Company| Name | Description | Type | Additional information |
|---|---|---|---|
| autoCode | integer |
None. |
|
| companyName | string |
Required String length: inclusive between 0 and 30 |
|
| companyNum | string |
String length: inclusive between 0 and 9 |
|
| BookkeepingKey | string |
String length: inclusive between 0 and 16 |
|
| city_code | integer |
None. |
|
| street | string |
String length: inclusive between 0 and 33 |
|
| home | integer |
None. |
|
| entrance | string |
String length: inclusive between 0 and 2 |
|
| floor | integer |
None. |
|
| azip | string |
String length: inclusive between 0 and 7 |
|
| p_o_b | integer |
None. |
|
| apartment_num | string |
String length: inclusive between 0 and 4 |
|
| homephone | string |
String length: inclusive between 0 and 12 |
|
| workphone | string |
String length: inclusive between 0 and 12 |
|
| mobilephone | string |
String length: inclusive between 0 and 12 |
|
| fax | string |
Max length: 12 |
|
| addphone | string |
Max length: 12 |
|
| string |
Max length: 30 |
||
| webSiteAddress | string |
String length: inclusive between 0 and 50 |
|
| contacts | string |
String length: inclusive between 0 and 100 |
|
| interface_code | string |
String length: inclusive between 0 and 10 |
|
| old_code | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"autoCode": 1,
"companyName": "sample string 2",
"companyNum": "sample string 3",
"BookkeepingKey": "sample string 4",
"city_code": 1,
"street": "sample string 5",
"home": 1,
"entrance": "sample string 6",
"floor": 1,
"azip": "sample string 7",
"p_o_b": 1,
"apartment_num": "sample string 8",
"homephone": "sample string 9",
"workphone": "sample string 10",
"mobilephone": "sample string 11",
"fax": "sample string 12",
"addphone": "sample string 13",
"email": "sample string 14",
"webSiteAddress": "sample string 15",
"contacts": "sample string 16",
"interface_code": "sample string 17",
"old_code": 1
},
{
"autoCode": 1,
"companyName": "sample string 2",
"companyNum": "sample string 3",
"BookkeepingKey": "sample string 4",
"city_code": 1,
"street": "sample string 5",
"home": 1,
"entrance": "sample string 6",
"floor": 1,
"azip": "sample string 7",
"p_o_b": 1,
"apartment_num": "sample string 8",
"homephone": "sample string 9",
"workphone": "sample string 10",
"mobilephone": "sample string 11",
"fax": "sample string 12",
"addphone": "sample string 13",
"email": "sample string 14",
"webSiteAddress": "sample string 15",
"contacts": "sample string 16",
"interface_code": "sample string 17",
"old_code": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfCompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
<Company>
<BookkeepingKey>sample string 4</BookkeepingKey>
<addphone>sample string 13</addphone>
<apartment_num>sample string 8</apartment_num>
<autoCode>1</autoCode>
<azip>sample string 7</azip>
<city_code>1</city_code>
<companyName>sample string 2</companyName>
<companyNum>sample string 3</companyNum>
<contacts>sample string 16</contacts>
<email>sample string 14</email>
<entrance>sample string 6</entrance>
<fax>sample string 12</fax>
<floor>1</floor>
<home>1</home>
<homephone>sample string 9</homephone>
<interface_code>sample string 17</interface_code>
<mobilephone>sample string 11</mobilephone>
<old_code>1</old_code>
<p_o_b>1</p_o_b>
<street>sample string 5</street>
<webSiteAddress>sample string 15</webSiteAddress>
<workphone>sample string 10</workphone>
</Company>
<Company>
<BookkeepingKey>sample string 4</BookkeepingKey>
<addphone>sample string 13</addphone>
<apartment_num>sample string 8</apartment_num>
<autoCode>1</autoCode>
<azip>sample string 7</azip>
<city_code>1</city_code>
<companyName>sample string 2</companyName>
<companyNum>sample string 3</companyNum>
<contacts>sample string 16</contacts>
<email>sample string 14</email>
<entrance>sample string 6</entrance>
<fax>sample string 12</fax>
<floor>1</floor>
<home>1</home>
<homephone>sample string 9</homephone>
<interface_code>sample string 17</interface_code>
<mobilephone>sample string 11</mobilephone>
<old_code>1</old_code>
<p_o_b>1</p_o_b>
<street>sample string 5</street>
<webSiteAddress>sample string 15</webSiteAddress>
<workphone>sample string 10</workphone>
</Company>
</ArrayOfCompany>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.