Invoice Source
Source of product in the firm for sales
URL
masters/invoicesource
Method
POST
Request Media type
application/json
Response Media type
application/json
Request Parameters
| Parameter | Data Type | Min | Max | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| key | String | 32 | 32 | M | AsDc0MxJWY1sRCy69uYdE9GddGtRcaOS | Key obtained from authentiaction. |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| lstInvoiceSource | Array | M | List of source within the firm | |||
| source | String | M | STOCK | Source of product | ||
| sourceid | String | M | S | Identification for the source of product |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq"
}
Sample Success Response
{
"lstInvoiceSource": [
{
"source": "STOCK",
"sourceid": "S"
}
],
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 499,
"msg": "Invalid Session"
}