POST api/app/erp/bill/sms
Request Information
URI Parameters
None.
Body Parameters
BillLightEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| BillNumber | string |
None. |
|
| InvoiceId | string |
None. |
|
| PaymentType | string |
None. |
|
| BillId | integer |
None. |
|
| BillDate | date |
None. |
|
| BillDateString | string |
None. |
|
| BillTime | string |
None. |
|
| AmountPayable | decimal number |
None. |
|
| AmountPaid | decimal number |
None. |
|
| Mobile | string |
None. |
|
| CustomerName | string |
None. |
|
| CreatedBy | integer |
None. |
|
| VendorId | integer |
None. |
|
| LocationId | integer |
None. |
|
| TaxApplied | decimal number |
None. |
|
| DiscountApplied | decimal number |
None. |
|
| BillSMSRequired | boolean |
None. |
|
| Items | Collection of BillItemLightEntity |
None. |
Request Formats
application/json, text/json
Sample:
{
"BillNumber": "sample string 1",
"InvoiceId": "sample string 2",
"PaymentType": "sample string 3",
"BillId": 4,
"BillDate": "2025-12-31T16:39:33.7368562+05:30",
"BillDateString": "sample string 6",
"BillTime": "sample string 7",
"AmountPayable": 8.0,
"AmountPaid": 9.0,
"Mobile": "sample string 10",
"CustomerName": "sample string 11",
"CreatedBy": 12,
"VendorId": 13,
"LocationId": 14,
"TaxApplied": 15.0,
"DiscountApplied": 16.0,
"BillSMSRequired": true,
"Items": [
{
"ProductId": 1,
"ProductName": "sample string 1",
"Quantity": 2.0,
"Price": 3.0,
"TaxPercentage": 4.0,
"TaxApplied": 5.0
},
{
"ProductId": 1,
"ProductName": "sample string 1",
"Quantity": 2.0,
"Price": 3.0,
"TaxPercentage": 4.0,
"TaxApplied": 5.0
}
]
}
application/xml, text/xml
Sample:
<BillLightEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pos_crm_api_DAL.Entities">
<AmountPaid>9</AmountPaid>
<AmountPayable>8</AmountPayable>
<BillDate>2025-12-31T16:39:33.7368562+05:30</BillDate>
<BillDateString>sample string 6</BillDateString>
<BillId>4</BillId>
<BillNumber>sample string 1</BillNumber>
<BillSMSRequired>true</BillSMSRequired>
<BillTime>sample string 7</BillTime>
<CreatedBy>12</CreatedBy>
<CustomerName>sample string 11</CustomerName>
<DiscountApplied>16</DiscountApplied>
<InvoiceId>sample string 2</InvoiceId>
<Items>
<BillItemLightEntity>
<Price>3</Price>
<ProductId>1</ProductId>
<ProductName>sample string 1</ProductName>
<Quantity>2</Quantity>
<TaxApplied>5</TaxApplied>
<TaxPercentage>4</TaxPercentage>
</BillItemLightEntity>
<BillItemLightEntity>
<Price>3</Price>
<ProductId>1</ProductId>
<ProductName>sample string 1</ProductName>
<Quantity>2</Quantity>
<TaxApplied>5</TaxApplied>
<TaxPercentage>4</TaxPercentage>
</BillItemLightEntity>
</Items>
<LocationId>14</LocationId>
<Mobile>sample string 10</Mobile>
<PaymentType>sample string 3</PaymentType>
<TaxApplied>15</TaxApplied>
<VendorId>13</VendorId>
</BillLightEntity>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |