GET, POST | /OfferGetUserSend |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
StartDate | body | DateTime | No | |
EndDate | body | DateTime | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Offers | form | List<OfferListItemDto> | No | |
ErrCode | form | int | No | |
ResponseStatus | form | ResponseStatus | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | No | |
UserName | form | string | No | |
Team | form | string | No | |
Num | form | string | No | |
CreateDate | form | DateTime | No | |
UpdateDate | form | DateTime | No | |
Company | form | OfferDtoCompany | No | |
Contract | form | OfferDtoContract | No | |
Sum | form | decimal | No | |
Comment | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | No | |
Name | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | No | |
Date | form | DateTime | No | |
Number | form | string | No | |
Name | form | 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 /OfferGetUserSend HTTP/1.1
Host: wbs.e-teleport.ru
Accept: application/json
Content-Type: application/json
Content-Length: length
{"StartDate":"0001-01-01T00:00:00.0000000","EndDate":"0001-01-01T00:00:00.0000000"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"Offers":[{"Id":"String","UserName":"String","Team":"String","Num":"String","CreateDate":"0001-01-01T00:00:00.0000000","UpdateDate":"0001-01-01T00:00:00.0000000","Company":{"Id":"String","Name":"String"},"Contract":{"Id":"String","Date":"0001-01-01T00:00:00.0000000","Number":"String","Name":"String"},"Sum":0,"Comment":"String"}],"ErrCode":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}