Sundries
List of Sundries
URL
masters/sundries
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 | LQ9ghYrvAylYGded6ecg7gD2FMqQCr97 | Key obtained from authentiaction. |
| acgcode | String | O | 6 | By default acgcode = 6 (Sundry Creditors), for any other acgcode to be provided |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| sundries | Array | M | List of Sundries Creditors | |||
| name | String | M | ABC | Name of Sundry | ||
| code | Integer | M | 25372 | Code of Sundry | ||
| gstin | String | M | GSTIN | GSTIN of Sundry | ||
| sundrytype | Integer | M | 6 | acgcode | ||
| active | String | M | T | If active then T else F | ||
| agent | Integer | M | 0 | Agent Account Code | ||
| sphone | String | M | 9784561230 | Phone No | ||
| baddress | String | M | Billing Address | Billing Address | ||
| saddress | String | M | Shipping Address | Shipping Address | ||
| pan | String | M | 7894546567 | Pan No | ||
| spin | Integer | M | 695001 | Pincode | ||
| agentname | String | M | agentname | Name of Agent |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"acgcode": "6"
}
Sample Success Response
{
"sundries": [
{
"name": "ABC",
"code": "25372",
"gstin": "GSTIN",
"sundrytype": "6",
"active": "T",
"agent": "0",
"sphone": "9784561230",
"baddress": "Billing Address",
"saddress": "Shipping Address",
"pan": "7894546567",
"spin": "695001",
"agentname": "agentname"
}
],
"e": 200,
"msg": "Success"
}