POST api/Paywihz/SyncPayslip

Request Information

URI Parameters

None.

Body Parameters

SMTPDetails
NameDescriptionTypeAdditional information
strSmtpClient

string

None.

strUserName

string

None.

strPassword

string

None.

strAddress

string

None.

fileName

string

None.

bEnableSSL

boolean

None.

Enclodure

string

None.

Port

integer

None.

ToMail

string

None.

Subject

string

None.

CustomerId

integer

None.

EmailBody

string

None.

ccToEmail

string

None.

Request Formats

application/json, text/json

Sample:
{
  "strSmtpClient": "sample string 1",
  "strUserName": "sample string 2",
  "strPassword": "sample string 3",
  "strAddress": "sample string 4",
  "fileName": "sample string 5",
  "bEnableSSL": true,
  "Enclodure": "sample string 7",
  "Port": 8,
  "ToMail": "sample string 9",
  "Subject": "sample string 10",
  "CustomerId": 11,
  "EmailBody": "sample string 12",
  "ccToEmail": "sample string 13"
}

application/xml, text/xml

Sample:
<SMTPDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <CustomerId>11</CustomerId>
  <EmailBody>sample string 12</EmailBody>
  <Enclodure>sample string 7</Enclodure>
  <Port>8</Port>
  <Subject>sample string 10</Subject>
  <ToMail>sample string 9</ToMail>
  <bEnableSSL>true</bEnableSSL>
  <ccToEmail>sample string 13</ccToEmail>
  <fileName>sample string 5</fileName>
  <strAddress>sample string 4</strAddress>
  <strPassword>sample string 3</strPassword>
  <strSmtpClient>sample string 1</strSmtpClient>
  <strUserName>sample string 2</strUserName>
</SMTPDetails>

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

Response Information

Resource Description

ResponseData
NameDescriptionTypeAdditional information
data

string

None.

status_cd

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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