POST edi

This method post SENDER_EAN, RECEIVER_EAN, MessageData, DocumentNumber, Type into the database

Request Information

URI Parameters

None.

Body Parameters

this is the model

NewDocument
NameDescriptionTypeAdditional information
ReceiverEan

string

None.

SenderEan

string

None.

DocumentNumber

string

None.

Type

string

None.

SubType

string

None.

MessageData

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ReceiverEan": "sample string 1",
  "SenderEan": "sample string 2",
  "DocumentNumber": "sample string 3",
  "Type": "sample string 4",
  "SubType": "sample string 5",
  "MessageData": "sample string 6"
}

application/xml, text/xml

Sample:
<NewDocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FMCGX.UniversalWebApi.Models">
  <DocumentNumber>sample string 3</DocumentNumber>
  <MessageData>sample string 6</MessageData>
  <ReceiverEan>sample string 1</ReceiverEan>
  <SenderEan>sample string 2</SenderEan>
  <SubType>sample string 5</SubType>
  <Type>sample string 4</Type>
</NewDocument>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'NewDocument'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.