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 .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
StartDate: 0001-01-01,
EndDate: 0001-01-01
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Offers: [ { Id: String, UserName: String, Team: String, Num: String, CreateDate: 0001-01-01, UpdateDate: 0001-01-01, Company: { Id: String, Name: String }, Contract: { Id: String, Date: 0001-01-01, 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 } } }