POST api/VendorTransActionsAPI?branch_id={branch_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
branch_id

integer

Required

Body Parameters

VendorTransActions
NameDescriptionTypeAdditional information
Id

integer

None.

Vendor_Id

integer

None.

Name

string

None.

Amount

decimal number

None.

AmountBefor

decimal number

None.

AmountAfter

decimal number

None.

DebitOrCredit

string

None.

Drawer_Id

integer

None.

Date

date

None.

User_Id

integer

None.

PaymentWay

string

None.

Note

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Vendor_Id": 2,
  "Name": "sample string 3",
  "Amount": 4.1,
  "AmountBefor": 5.1,
  "AmountAfter": 6.1,
  "DebitOrCredit": "sample string 7",
  "Drawer_Id": 8,
  "Date": "2024-10-04T14:19:47.430492-07:00",
  "User_Id": 10,
  "PaymentWay": "sample string 11",
  "Note": "sample string 12"
}

application/xml, text/xml

Sample:
<VendorTransActions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ODOAPI.Models">
  <Amount>4.1</Amount>
  <AmountAfter>6.1</AmountAfter>
  <AmountBefor>5.1</AmountBefor>
  <Date>2024-10-04T14:19:47.430492-07:00</Date>
  <DebitOrCredit>sample string 7</DebitOrCredit>
  <Drawer_Id>8</Drawer_Id>
  <Id>1</Id>
  <Name>sample string 3</Name>
  <Note>sample string 12</Note>
  <PaymentWay>sample string 11</PaymentWay>
  <User_Id>10</User_Id>
  <Vendor_Id>2</Vendor_Id>
</VendorTransActions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VendorTransActions
NameDescriptionTypeAdditional information
Id

integer

None.

Vendor_Id

integer

None.

Name

string

None.

Amount

decimal number

None.

AmountBefor

decimal number

None.

AmountAfter

decimal number

None.

DebitOrCredit

string

None.

Drawer_Id

integer

None.

Date

date

None.

User_Id

integer

None.

PaymentWay

string

None.

Note

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Vendor_Id": 2,
  "Name": "sample string 3",
  "Amount": 4.1,
  "AmountBefor": 5.1,
  "AmountAfter": 6.1,
  "DebitOrCredit": "sample string 7",
  "Drawer_Id": 8,
  "Date": "2024-10-04T14:19:47.430492-07:00",
  "User_Id": 10,
  "PaymentWay": "sample string 11",
  "Note": "sample string 12"
}

application/xml, text/xml

Sample:
<VendorTransActions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ODOAPI.Models">
  <Amount>4.1</Amount>
  <AmountAfter>6.1</AmountAfter>
  <AmountBefor>5.1</AmountBefor>
  <Date>2024-10-04T14:19:47.430492-07:00</Date>
  <DebitOrCredit>sample string 7</DebitOrCredit>
  <Drawer_Id>8</Drawer_Id>
  <Id>1</Id>
  <Name>sample string 3</Name>
  <Note>sample string 12</Note>
  <PaymentWay>sample string 11</PaymentWay>
  <User_Id>10</User_Id>
  <Vendor_Id>2</Vendor_Id>
</VendorTransActions>