POST Api/Inventory/SaveSupplierRec
Request Information
URI Parameters
None.
Body Parameters
SupplierView| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| MerchantId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| NameList | Collection of MutiLanguage |
None. |
|
| Contact | string |
None. |
|
| PhoneNum | string |
None. |
|
| FaxNum | string |
None. |
|
| MerchantName | string |
None. |
|
| IsModify | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "c10426fc-4141-49fc-9fe4-1330406b4ef0",
"MerchantId": "e4df2873-0bc1-45bc-aa2d-5d662b170b15",
"Name": "sample string 3",
"NameList": [
{
"Lang": {
"Text": "sample string 1",
"Code": "sample string 2",
"Id": 3
},
"Language": 0,
"Desc": "sample string 1"
},
{
"Lang": {
"Text": "sample string 1",
"Code": "sample string 2",
"Id": 3
},
"Language": 0,
"Desc": "sample string 1"
}
],
"Contact": "sample string 4",
"PhoneNum": "sample string 5",
"FaxNum": "sample string 6",
"MerchantName": "sample string 7",
"IsModify": true
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SystemResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Succeeded | boolean |
None. |
|
| Message | string |
None. |
|
| ReturnValue | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Succeeded": true,
"Message": "sample string 2",
"ReturnValue": {}
}