POST api/Paywihz/GetDocument

Request Information

URI Parameters

None.

Body Parameters

SW_Paywihz
NameDescriptionTypeAdditional information
SW_CustomerId

integer

None.

CompanyId

integer

None.

EmployeeCode

string

None.

Year

string

None.

Month

string

None.

CompanyName

string

None.

DocType

string

None.

CompanyCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SW_CustomerId": 1,
  "CompanyId": 2,
  "EmployeeCode": "sample string 3",
  "Year": "sample string 4",
  "Month": "sample string 5",
  "CompanyName": "sample string 6",
  "DocType": "sample string 7",
  "CompanyCode": "sample string 8"
}

application/xml, text/xml

Sample:
<SW_Paywihz xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CoreLibrary">
  <CompanyCode>sample string 8</CompanyCode>
  <CompanyId>2</CompanyId>
  <CompanyName>sample string 6</CompanyName>
  <DocType>sample string 7</DocType>
  <EmployeeCode>sample string 3</EmployeeCode>
  <Month>sample string 5</Month>
  <SW_CustomerId>1</SW_CustomerId>
  <Year>sample string 4</Year>
</SW_Paywihz>

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

Response Information

Resource Description

Collection of FilePath
NameDescriptionTypeAdditional information
Filename

string

None.

Path

string

None.

Length

string

None.

IsDirectory

boolean

None.

Last_Modified

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Filename": "sample string 1",
    "Path": "sample string 2",
    "Length": "sample string 3",
    "IsDirectory": true,
    "Last_Modified": "sample string 5"
  },
  {
    "Filename": "sample string 1",
    "Path": "sample string 2",
    "Length": "sample string 3",
    "IsDirectory": true,
    "Last_Modified": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPaywihzController.FilePath xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Controllers">
  <PaywihzController.FilePath>
    <Filename>sample string 1</Filename>
    <IsDirectory>true</IsDirectory>
    <Last_Modified>sample string 5</Last_Modified>
    <Length>sample string 3</Length>
    <Path>sample string 2</Path>
  </PaywihzController.FilePath>
  <PaywihzController.FilePath>
    <Filename>sample string 1</Filename>
    <IsDirectory>true</IsDirectory>
    <Last_Modified>sample string 5</Last_Modified>
    <Length>sample string 3</Length>
    <Path>sample string 2</Path>
  </PaywihzController.FilePath>
</ArrayOfPaywihzController.FilePath>