POST Product/InvoicePayment

Request Information

URI Parameters

None.

Body Parameters

InvoicePayment
NameDescriptionTypeAdditional information
profileid

string

None.

company_sy

string

None.

email

string

None.

FirstName

string

None.

LastName

string

None.

adr1

string

None.

adr2

string

None.

city

string

None.

state

string

None.

country

string

None.

zip

string

None.

Amount

decimal number

None.

CardNumber

string

None.

ExpirationDate

string

None.

CardCode

string

None.

ExpirationMonth

integer

None.

ExpirationYear

integer

None.

CardType

string

None.

Total

string

None.

Customer

string

None.

PaymentRefNo

string

None.

PaymentDetail

Collection of InvoicePaymentDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "profileid": "sample string 1",
  "company_sy": "sample string 2",
  "email": "sample string 3",
  "FirstName": "sample string 4",
  "LastName": "sample string 5",
  "adr1": "sample string 6",
  "adr2": "sample string 7",
  "city": "sample string 8",
  "state": "sample string 9",
  "country": "sample string 10",
  "zip": "sample string 11",
  "Amount": 12.0,
  "CardNumber": "sample string 13",
  "ExpirationDate": "sample string 14",
  "CardCode": "sample string 15",
  "ExpirationMonth": 16,
  "ExpirationYear": 17,
  "CardType": "sample string 18",
  "Total": "sample string 19",
  "Customer": "sample string 20",
  "PaymentRefNo": "sample string 21",
  "PaymentDetail": [
    {
      "OrderNo": "sample string 1",
      "SeqNo": "sample string 2",
      "Amount": 3.0
    },
    {
      "OrderNo": "sample string 1",
      "SeqNo": "sample string 2",
      "Amount": 3.0
    }
  ]
}

text/xml

Sample:
<InvoicePayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DistOneWebAPI.ViewModels">
  <Amount>12</Amount>
  <CardCode>sample string 15</CardCode>
  <CardNumber>sample string 13</CardNumber>
  <CardType>sample string 18</CardType>
  <Customer>sample string 20</Customer>
  <ExpirationDate>sample string 14</ExpirationDate>
  <ExpirationMonth>16</ExpirationMonth>
  <ExpirationYear>17</ExpirationYear>
  <FirstName>sample string 4</FirstName>
  <LastName>sample string 5</LastName>
  <PaymentDetail>
    <InvoicePaymentDetail>
      <Amount>3</Amount>
      <OrderNo>sample string 1</OrderNo>
      <SeqNo>sample string 2</SeqNo>
    </InvoicePaymentDetail>
    <InvoicePaymentDetail>
      <Amount>3</Amount>
      <OrderNo>sample string 1</OrderNo>
      <SeqNo>sample string 2</SeqNo>
    </InvoicePaymentDetail>
  </PaymentDetail>
  <PaymentRefNo>sample string 21</PaymentRefNo>
  <Total>sample string 19</Total>
  <adr1>sample string 6</adr1>
  <adr2>sample string 7</adr2>
  <city>sample string 8</city>
  <company_sy>sample string 2</company_sy>
  <country>sample string 10</country>
  <email>sample string 3</email>
  <profileid>sample string 1</profileid>
  <state>sample string 9</state>
  <zip>sample string 11</zip>
</InvoicePayment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />