POST, GET | /Contracts_Push |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | body | string | Yes | Create new if is empty |
Uid | body | string | No | |
Owner | body | string | No | |
Contact | body | string | Yes | Not updated after creation |
Name | body | string | No | |
Inn | body | string | No | |
Kpp | body | string | No | |
Address | body | string | No | |
Phone | body | string | No | |
AdditionalProperties | body | Dictionary<string, string> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Contract | form | 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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Contracts_Push HTTP/1.1
Host: wbs.e-teleport.ru
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Id":"String","Uid":"String","Owner":"String","Contact":"String","Name":"String","Inn":"String","Kpp":"String","Address":"String","Phone":"String","AdditionalProperties":{"String":"String"}}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"Contract":{"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"}}}