POST api/v1/GenerateInvoice

Request Information

URI Parameters

None.

Body Parameters

InvoiceSaveInput
NameDescriptionTypeAdditional information
Mode

string

None.

IPAddress

string

None.

PIN

string

None.

PaymentMethod

string

None.

Currency

string

None.

PaymentRef

string

None.

BillingAddressID

integer

None.

ShippingAddressID

integer

None.

ShippingCharge

decimal number

None.

ShippingCGST

decimal number

None.

ShippingSGST

decimal number

None.

InvoiceID

integer

None.

DelAgentID

integer

None.

FailedCode

string

None.

FailedReason

string

None.

FailedSource

string

None.

RP_OrderID

string

None.

RP_PaymentID

string

None.

RP_Signature

string

None.

AWBNo

string

None.

comment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Mode": "sample string 1",
  "IPAddress": "sample string 2",
  "PIN": "sample string 3",
  "PaymentMethod": "sample string 4",
  "Currency": "sample string 5",
  "PaymentRef": "sample string 6",
  "BillingAddressID": 7,
  "ShippingAddressID": 8,
  "ShippingCharge": 9.0,
  "ShippingCGST": 10.0,
  "ShippingSGST": 11.0,
  "InvoiceID": 12,
  "DelAgentID": 13,
  "FailedCode": "sample string 14",
  "FailedReason": "sample string 15",
  "FailedSource": "sample string 16",
  "RP_OrderID": "sample string 17",
  "RP_PaymentID": "sample string 18",
  "RP_Signature": "sample string 19",
  "AWBNo": "sample string 20",
  "comment": "sample string 21"
}

application/xml, text/xml

Sample:
<InvoiceSaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <AWBNo>sample string 20</AWBNo>
  <BillingAddressID>7</BillingAddressID>
  <Currency>sample string 5</Currency>
  <DelAgentID>13</DelAgentID>
  <FailedCode>sample string 14</FailedCode>
  <FailedReason>sample string 15</FailedReason>
  <FailedSource>sample string 16</FailedSource>
  <IPAddress>sample string 2</IPAddress>
  <InvoiceID>12</InvoiceID>
  <Mode>sample string 1</Mode>
  <PIN>sample string 3</PIN>
  <PaymentMethod>sample string 4</PaymentMethod>
  <PaymentRef>sample string 6</PaymentRef>
  <RP_OrderID>sample string 17</RP_OrderID>
  <RP_PaymentID>sample string 18</RP_PaymentID>
  <RP_Signature>sample string 19</RP_Signature>
  <ShippingAddressID>8</ShippingAddressID>
  <ShippingCGST>10</ShippingCGST>
  <ShippingCharge>9</ShippingCharge>
  <ShippingSGST>11</ShippingSGST>
  <comment>sample string 21</comment>
</InvoiceSaveInput>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.