| POST | /AdminContacts_RequestPerson |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Owner | body | string | No | |
| Contact | body | string | No | |
| message | body | string | No | |
| callback_url | body | string | No | |
| Branches | body | List<Branch_Add> | No | |
| Companies | body | List<Company_Add> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| OwnerType | form | CompanyOwnerType | No | |
| Owner | form | string | No | |
| BranchName | form | string | No | |
| CompanyId | form | string | No | |
| Parameters | form | Dictionary<string, string> | No |
| contact | |
| contactGroup |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| OwnerType | form | CompanyOwnerType | No | |
| Owner | form | string | No | |
| CompanyName | form | string | No | |
| Parameters | form | Dictionary<string, string> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| retval | form | int | No | |
| userOrganisationInfo | form | UserOrganisationInfo | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BranchesList | form | List<UserTeamsBranches> | No | |
| CompaniesList | form | List<UserTeamsCompanies> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| owner_id | form | string | No | |
| owner_type | form | string | No | |
| branch_id | form | string | No | |
| owner_name | form | string | No | |
| branch_name | form | string | No | |
| branch_KPP | form | string | No | |
| branch_address | form | string | No | |
| branch_phone | form | string | No | |
| company_id | form | string | No | |
| photo_id | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| owner_id | form | string | No | |
| owner_type | form | string | No | |
| company_id | form | string | No | |
| owner_name | form | string | No | |
| company_name | form | string | No | |
| company_fullname | form | string | No | |
| company_INN | form | string | No | |
| company_KPP | form | string | No | |
| company_OGRN | form | string | No | |
| company_account | form | string | No | |
| company_BIK | form | string | No | |
| company_bank | form | string | No | |
| company_coraccount | form | string | No | |
| company_chief | form | string | No | |
| company_buh | form | string | No | |
| company_phone | form | string | No | |
| company_address | form | string | No | |
| company_logo | form | string | No | |
| photo_id | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /AdminContacts_RequestPerson HTTP/1.1
Host: wbs.e-teleport.ru
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Owner: String,
Contact: String,
message: String,
callback_url: String,
Branches:
[
{
OwnerType: contact,
Owner: String,
BranchName: String,
CompanyId: String,
Parameters:
{
String: String
}
}
],
Companies:
[
{
OwnerType: contact,
Owner: String,
CompanyName: String,
Parameters:
{
String: String
}
}
]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
retval: 0,
userOrganisationInfo:
{
BranchesList:
[
{
owner_id: String,
owner_type: String,
branch_id: String,
owner_name: String,
branch_name: String,
branch_KPP: String,
branch_address: String,
branch_phone: String,
company_id: String,
photo_id: String
}
],
CompaniesList:
[
{
owner_id: String,
owner_type: String,
company_id: String,
owner_name: String,
company_name: String,
company_fullname: String,
company_INN: String,
company_KPP: String,
company_OGRN: String,
company_account: String,
company_BIK: String,
company_bank: String,
company_coraccount: String,
company_chief: String,
company_buh: String,
company_phone: String,
company_address: String,
company_logo: String,
photo_id: String
}
]
},
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}