POST edi-feed-setup

Request Information

URI Parameters

None.

Body Parameters

EDIFeedSetupModel
NameDescriptionTypeAdditional information
UserName

string

Required

Password

string

Required

IpAddresses

Collection of TupleOfStringAndString

None.

SweepFtp

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Password": "sample string 2",
  "IpAddresses": [
    {
      "m_Item1": "sample string 1",
      "m_Item2": "sample string 2"
    },
    {
      "m_Item1": "sample string 1",
      "m_Item2": "sample string 2"
    }
  ],
  "SweepFtp": true
}

application/xml, text/xml

Sample:
<FtpSetupController.EDIFeedSetupModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PetAssureFtpHelper.Controllers">
  <IpAddresses xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:TupleOfstringstring>
      <d2p1:m_Item1>sample string 1</d2p1:m_Item1>
      <d2p1:m_Item2>sample string 2</d2p1:m_Item2>
    </d2p1:TupleOfstringstring>
    <d2p1:TupleOfstringstring>
      <d2p1:m_Item1>sample string 1</d2p1:m_Item1>
      <d2p1:m_Item2>sample string 2</d2p1:m_Item2>
    </d2p1:TupleOfstringstring>
  </IpAddresses>
  <Password>sample string 2</Password>
  <SweepFtp>true</SweepFtp>
  <UserName>sample string 1</UserName>
</FtpSetupController.EDIFeedSetupModel>

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 'EDIFeedSetupModel'.

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.