POST api/supplier/save
Request Information
URI Parameters
None.
Body Parameters
EntTgSysSupplierName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
SupplierCode | string |
None. |
|
ShortName | string |
None. |
|
ChName | string |
None. |
|
EnName | string |
None. |
|
CreditCode | string |
None. |
|
LinkUser | string |
None. |
|
TELLPHONE | string |
None. |
|
FAX | string |
None. |
|
string |
None. |
||
ADDRESS | string |
None. |
|
TypeFlag | string |
None. |
|
CompanyCode | string |
None. |
|
CreateDate | date |
None. |
|
CreateUser | string |
None. |
|
StatusFlag | string |
None. |
|
CiqCode | string |
None. |
|
PageSize | integer |
None. |
|
PageIndex | integer |
None. |
|
TotalCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "1", "supplierCode": "sample string 2", "shortName": "sample string 3", "chName": "sample string 4", "enName": "sample string 5", "creditCode": "sample string 6", "linkUser": "sample string 7", "tellphone": "sample string 8", "fax": "sample string 9", "email": "sample string 10", "address": "sample string 11", "typeFlag": "sample string 12", "companyCode": "sample string 13", "createDate": "2024-11-21 17:01:27", "createUser": "sample string 14", "statusFlag": "sample string 15", "ciqCode": "sample string 16", "pageSize": 17, "pageIndex": 18, "totalCount": 19 }
application/xml, text/xml
Sample:
<EntTgSysSupplier xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model"> <PageIndex>18</PageIndex> <PageSize>17</PageSize> <TotalCount>19</TotalCount> <ADDRESS>sample string 11</ADDRESS> <ChName>sample string 4</ChName> <CiqCode>sample string 16</CiqCode> <CompanyCode>sample string 13</CompanyCode> <CreateDate>2024-11-21T17:01:27.353732+08:00</CreateDate> <CreateUser>sample string 14</CreateUser> <CreditCode>sample string 6</CreditCode> <EMAIL>sample string 10</EMAIL> <EnName>sample string 5</EnName> <FAX>sample string 9</FAX> <Id>1</Id> <LinkUser>sample string 7</LinkUser> <ShortName>sample string 3</ShortName> <StatusFlag>sample string 15</StatusFlag> <SupplierCode>sample string 2</SupplierCode> <TELLPHONE>sample string 8</TELLPHONE> <TypeFlag>sample string 12</TypeFlag> </EntTgSysSupplier>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReturnResultOfInt32Name | Description | Type | Additional information |
---|---|---|---|
Status | integer |
None. |
|
Success | boolean |
None. |
|
Data | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": 1, "success": true, "data": 3, "message": "sample string 4" }
application/xml, text/xml
Sample:
<ReturnResultOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model"> <Data>3</Data> <Message>sample string 4</Message> <Status>1</Status> <Success>true</Success> </ReturnResultOfint>