POST api/MGDReport/SaveVendorPayment

Request Information

URI Parameters

None.

Body Parameters

VendPayment
NameDescriptionTypeAdditional information
BranchId

string

None.

BranchName

string

None.

Company

string

None.

TransDate

string

None.

VendAccountNum

string

None.

Amount

decimal number

None.

UserId

integer

None.

VendName

string

None.

VendGroup

string

None.

VendGroupName

string

None.

IsApproved

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BranchId": "sample string 1",
  "BranchName": "sample string 2",
  "Company": "sample string 3",
  "TransDate": "sample string 4",
  "VendAccountNum": "sample string 5",
  "Amount": 6.0,
  "UserId": 7,
  "VendName": "sample string 8",
  "VendGroup": "sample string 9",
  "VendGroupName": "sample string 10",
  "IsApproved": 11
}

application/xml, text/xml

Sample:
<VendPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AXCommunication.Models">
  <Amount>6</Amount>
  <BranchId>sample string 1</BranchId>
  <BranchName>sample string 2</BranchName>
  <Company>sample string 3</Company>
  <IsApproved>11</IsApproved>
  <TransDate>sample string 4</TransDate>
  <UserId>7</UserId>
  <VendAccountNum>sample string 5</VendAccountNum>
  <VendGroup>sample string 9</VendGroup>
  <VendGroupName>sample string 10</VendGroupName>
  <VendName>sample string 8</VendName>
</VendPayment>

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>