POST api/Invoice/SelectInvoicesByCustomerIdForInvoicePayments

Request Information

URI Parameters

None.

Body Parameters

InvoicePaymentModel
NameDescriptionTypeAdditional information
InvoiceID

integer

None.

InvoiceNumber

string

None.

CustomerID

integer

None.

SalesPersonID

integer

None.

SalesPerson

string

None.

InvoiceDate

date

None.

Amount

decimal number

None.

InvoiceStatusPL

integer

None.

InvoiceStatus

string

None.

InvoiceAccountType

integer

None.

BranchID

integer

None.

BranchName

string

None.

Customer

string

None.

Notes

string

None.

InvType

integer

None.

PaymentTypes

string

None.

InvoiceGroup1ID

integer

None.

zeroPadAmount

string

None.

customerId

integer

None.

StartDate

date

None.

EndDate

date

None.

Group1Id

integer

None.

searchTerm

string

None.

invoiceIds

string

None.

Amounts

decimal number

None.

MoreAmount

integer

None.

CreatedBy

integer

None.

CreatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "InvoiceID": 1,
  "InvoiceNumber": "sample string 2",
  "CustomerID": 1,
  "SalesPersonID": 1,
  "SalesPerson": "sample string 3",
  "InvoiceDate": "2020-02-27T04:53:45.870531+11:00",
  "Amount": 1.0,
  "InvoiceStatusPL": 1,
  "InvoiceStatus": "sample string 4",
  "InvoiceAccountType": 1,
  "BranchID": 1,
  "BranchName": "sample string 5",
  "Customer": "sample string 6",
  "Notes": "sample string 7",
  "InvType": 8,
  "PaymentTypes": "sample string 9",
  "InvoiceGroup1ID": 1,
  "zeroPadAmount": "sample string 10",
  "customerId": 11,
  "StartDate": "2020-02-27T04:53:45.870531+11:00",
  "EndDate": "2020-02-27T04:53:45.870531+11:00",
  "Group1Id": 14,
  "searchTerm": "sample string 15",
  "invoiceIds": "sample string 16",
  "Amounts": 17.0,
  "MoreAmount": 18,
  "CreatedBy": 19,
  "CreatedDate": "2020-02-27T04:53:45.870531+11:00"
}

application/xml, text/xml

Sample:
<InvoicePaymentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TARWebAPI.Models">
  <Amount>1</Amount>
  <Amounts>17</Amounts>
  <BranchID>1</BranchID>
  <BranchName>sample string 5</BranchName>
  <CreatedBy>19</CreatedBy>
  <CreatedDate>2020-02-27T04:53:45.870531+11:00</CreatedDate>
  <Customer>sample string 6</Customer>
  <CustomerID>1</CustomerID>
  <EndDate>2020-02-27T04:53:45.870531+11:00</EndDate>
  <Group1Id>14</Group1Id>
  <InvType>8</InvType>
  <InvoiceAccountType>1</InvoiceAccountType>
  <InvoiceDate>2020-02-27T04:53:45.870531+11:00</InvoiceDate>
  <InvoiceGroup1ID>1</InvoiceGroup1ID>
  <InvoiceID>1</InvoiceID>
  <InvoiceNumber>sample string 2</InvoiceNumber>
  <InvoiceStatus>sample string 4</InvoiceStatus>
  <InvoiceStatusPL>1</InvoiceStatusPL>
  <MoreAmount>18</MoreAmount>
  <Notes>sample string 7</Notes>
  <PaymentTypes>sample string 9</PaymentTypes>
  <SalesPerson>sample string 3</SalesPerson>
  <SalesPersonID>1</SalesPersonID>
  <StartDate>2020-02-27T04:53:45.870531+11:00</StartDate>
  <customerId>11</customerId>
  <invoiceIds>sample string 16</invoiceIds>
  <searchTerm>sample string 15</searchTerm>
  <zeroPadAmount>sample string 10</zeroPadAmount>
</InvoicePaymentModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.