POST api/DIY/GetDIYData

Request Information

URI Parameters

None.

Body Parameters

GetDYIModel
NameDescriptionTypeAdditional information
CustomerId

integer

None.

PAN

string

None.

UserName

string

None.

Password

string

None.

FY

string

None.

Quarter

integer

None.

Url

string

None.

SmtpClient

string

None.

SmtpUserName

string

None.

SmtpPassword

string

None.

SmtpAddress

string

None.

Port

integer

None.

EnableSSL

boolean

None.

Skey

string

None.

Lkey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "PAN": "sample string 2",
  "UserName": "sample string 3",
  "Password": "sample string 4",
  "FY": "sample string 5",
  "Quarter": 6,
  "Url": "sample string 7",
  "SmtpClient": "sample string 8",
  "SmtpUserName": "sample string 9",
  "SmtpPassword": "sample string 10",
  "SmtpAddress": "sample string 11",
  "Port": 12,
  "EnableSSL": true,
  "Skey": "sample string 14",
  "Lkey": "sample string 15"
}

application/xml, text/xml

Sample:
<GetDYIModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <CustomerId>1</CustomerId>
  <EnableSSL>true</EnableSSL>
  <FY>sample string 5</FY>
  <Lkey>sample string 15</Lkey>
  <PAN>sample string 2</PAN>
  <Password>sample string 4</Password>
  <Port>12</Port>
  <Quarter>6</Quarter>
  <Skey>sample string 14</Skey>
  <SmtpAddress>sample string 11</SmtpAddress>
  <SmtpClient>sample string 8</SmtpClient>
  <SmtpPassword>sample string 10</SmtpPassword>
  <SmtpUserName>sample string 9</SmtpUserName>
  <Url>sample string 7</Url>
  <UserName>sample string 3</UserName>
</GetDYIModel>

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

Response Information

Resource Description

APIResult
NameDescriptionTypeAdditional information
status_cd

string

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status_cd": "sample string 1",
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<APIResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLibrary">
  <message>sample string 2</message>
  <status_cd>sample string 1</status_cd>
</APIResult>