TeleportService

<back to all web services

AdminCompany_Add

Requires Authentication
The following routes are available for this service:
POST/AdminCompany_Add
AdminCompany_Add Parameters:
NameParameterData TypeRequiredDescription
OwnerTypebodyCompanyOwnerTypeNo
OwnerbodystringNo
CompanyNamebodystringNo
ParametersbodyDictionary<string, string>No
CompanyOwnerType Enum:
contact
contactGroup
CompanyAddResponce Parameters:
NameParameterData TypeRequiredDescription
errCodeformintNo
idformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /AdminCompany_Add HTTP/1.1 
Host: wbs.e-teleport.ru 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"OwnerType":"contact","Owner":"String","CompanyName":"String","Parameters":{"String":"String"}}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"errCode":0,"id":"String"}