POST, GET | /Contracts_GetMyContracts |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Team | body | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Contracts | form | List<Contract> | No | |
ErrCode | form | int | No | |
ResponseStatus | form | ResponseStatus | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | No | |
CreateDate | form | DateTime | No | |
UpdateDate | form | DateTime | No | |
Uid | form | string | No | |
Team | form | string | No | |
Owner | form | string | No | |
Contact | form | string | No | |
Name | form | string | No | |
Inn | form | string | No | |
Kpp | form | string | No | |
Address | form | string | No | |
Phone | form | string | No | |
AdditionalProperties | form | Dictionary<string, 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 /Contracts_GetMyContracts HTTP/1.1
Host: wbs.e-teleport.ru
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Team: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Contracts: [ { Id: String, CreateDate: 0001-01-01, UpdateDate: 0001-01-01, 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 } } }