POST api/partner/stream
Метод возвращает файл ЭПД
Request Information
URI Parameters
None.
Body Parameters
BodyName | Description | Type | Additional information |
---|---|---|---|
PartnerId |
Идентификатор клиента |
globally unique identifier |
None. |
User |
Пользователь |
UserModel |
None. |
Order |
Модель заказа |
OrderModel |
None. |
Read |
Модель для чтения |
ReadModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "partnerId": "70fe8604-c863-4207-9f6d-b1e0c30c7ac1", "user": { "id": 1, "email": { "address": "sample string 1", "isApproved": true } }, "order": { "id": "ea7a8e7c-fe90-4ce3-beb5-52dbe4955312", "identifiers": [ 1, 2 ] }, "read": { "orderId": "b917ed33-1b49-436a-aaba-118392c5053e", "eId": 2 } }
application/xml, text/xml
Sample:
<PartnerController.Body xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RucontAPI.Controllers"> <Order> <Id>ea7a8e7c-fe90-4ce3-beb5-52dbe4955312</Id> <Identifiers xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:long>1</d3p1:long> <d3p1:long>2</d3p1:long> </Identifiers> </Order> <PartnerId>70fe8604-c863-4207-9f6d-b1e0c30c7ac1</PartnerId> <Read> <EId>2</EId> <OrderId>b917ed33-1b49-436a-aaba-118392c5053e</OrderId> </Read> <User> <Email> <Address>sample string 1</Address> <IsApproved>true</IsApproved> </Email> <Id>1</Id> </User> </PartnerController.Body>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |