POST api/Master/InsertSupplierMaster
Request Information
URI Parameters
None.
Body Parameters
InsertSupplierRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| supplierModel | SupplierModel |
None. |
|
| CompKey | integer |
None. |
|
| Subsordemo | string |
None. |
|
| YearKey | integer |
None. |
|
| UserKey | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"supplierModel": {
"supplierKey": 1,
"supplierCode": "sample string 2",
"supplierName": "sample string 3",
"supplierAdrs": "sample string 4",
"supplierPhone": "sample string 5",
"supplierMobile": "sample string 6",
"supplierEmail": "sample string 7",
"supplierWebsite": "sample string 8",
"supplierContact": "sample string 9",
"supplierCrlimit": 10.0,
"supplierDiscPerc": 11.0,
"supplierEntryDt": "2026-04-02T05:27:23.6410982+04:00",
"currencyKey": 13,
"countryKey": 14,
"supplierType": "sample string 15",
"supTaxnumb": "sample string 16",
"supplierPobox": "sample string 17",
"branchKey": 18,
"supplierModifyDt": "2026-04-02T05:27:23.6410982+04:00",
"supplierValid": true,
"compKey": 21,
"YearKey": 22,
"invSupplierOpList": [
{
"apHeadNmb": 1,
"apDocTag": "sample string 2",
"apDocPrefix": "sample string 3",
"apDocNmb": 4,
"apDocDate": "2026-04-02T05:27:23.6410982+04:00",
"apDescrip": "sample string 6",
"apReference": "sample string 7",
"apAmount": 8.1,
"supplierKey": 9,
"docPosted": "sample string 10",
"currencyKey": 11,
"currencyRate": 12.1,
"yearKey": 13,
"branchKey": 14,
"paymteDays": 15,
"userKey": 16,
"opStartDate": "2026-04-02T05:27:23.6410982+04:00",
"compKey": 18
},
{
"apHeadNmb": 1,
"apDocTag": "sample string 2",
"apDocPrefix": "sample string 3",
"apDocNmb": 4,
"apDocDate": "2026-04-02T05:27:23.6410982+04:00",
"apDescrip": "sample string 6",
"apReference": "sample string 7",
"apAmount": 8.1,
"supplierKey": 9,
"docPosted": "sample string 10",
"currencyKey": 11,
"currencyRate": 12.1,
"yearKey": 13,
"branchKey": 14,
"paymteDays": 15,
"userKey": 16,
"opStartDate": "2026-04-02T05:27:23.6410982+04:00",
"compKey": 18
}
]
},
"CompKey": 1,
"Subsordemo": "sample string 2",
"YearKey": 3,
"UserKey": 4
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.