TeleportService

<back to all web services

Contracts_GetMyContracts

Requires Authentication
The following routes are available for this service:
POST, GET/Contracts_GetMyContracts
Contracts_GetMyContracts Parameters:
NameParameterData TypeRequiredDescription
TeambodystringNo
GetMyContractsResponce Parameters:
NameParameterData TypeRequiredDescription
ContractsformList<Contract>No
ErrCodeformintNo
ResponseStatusformResponseStatusNo
Contract Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
CreateDateformDateTimeNo
UpdateDateformDateTimeNo
UidformstringNo
TeamformstringNo
OwnerformstringNo
ContactformstringNo
NameformstringNo
InnformstringNo
KppformstringNo
AddressformstringNo
PhoneformstringNo
AdditionalPropertiesformDictionary<string, string>No

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 /Contracts_GetMyContracts HTTP/1.1 
Host: wbs.e-teleport.ru 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"Team":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Contracts":[{"Id":"String","CreateDate":"0001-01-01T00:00:00.0000000","UpdateDate":"0001-01-01T00:00:00.0000000","Uid":"String","Team":"String","Owner":"String","Contact":"String","Name":"String","Inn":"String","Kpp":"String","Address":"String","Phone":"String","AdditionalProperties":{}}],"ErrCode":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}