POST api/basContract/save
Request Information
URI Parameters
None.
Body Parameters
EntBasContractName | Description | Type | Additional information |
---|---|---|---|
BeginDateBegin | date |
None. |
|
BeginDateEnd | date |
None. |
|
EndDateBegin | date |
None. |
|
EndDateEnd | date |
None. |
|
AddDateBegin | date |
None. |
|
AddDateEnd | date |
None. |
|
UpdateDateBegin | date |
None. |
|
UpdateDateEnd | date |
None. |
|
IsOverTime | boolean |
None. |
|
Id | integer |
None. |
|
ContractNo | string |
None. |
|
BeginDate | date |
None. |
|
EndDate | date |
None. |
|
SupplierCode | string |
None. |
|
CustomerCode | string |
None. |
|
Name | string |
None. |
|
NameEn | string |
None. |
|
NameAbbr | string |
None. |
|
NameEnAbbr | string |
None. |
|
TaxNo | string |
None. |
|
CountryCode | string |
None. |
|
CountryName | string |
None. |
|
Address | string |
None. |
|
AddresssEn | string |
None. |
|
ContactMan | string |
None. |
|
string |
None. |
||
Tel | string |
None. |
|
InvoiceHead | string |
None. |
|
InvoiceAddress | string |
None. |
|
Bank | string |
None. |
|
BankAccount | string |
None. |
|
AddDate | date |
None. |
|
AddUser | string |
None. |
|
UpdateDate | date |
None. |
|
UpdateUser | string |
None. |
|
RemindDay | integer |
None. |
|
ContractType | string |
None. |
|
PageSize | integer |
None. |
|
PageIndex | integer |
None. |
|
TotalCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "beginDateBegin": "2024-11-21 16:55:44", "beginDateEnd": "2024-11-21 16:55:44", "endDateBegin": "2024-11-21 16:55:44", "endDateEnd": "2024-11-21 16:55:44", "addDateBegin": "2024-11-21 16:55:44", "addDateEnd": "2024-11-21 16:55:44", "updateDateBegin": "2024-11-21 16:55:44", "updateDateEnd": "2024-11-21 16:55:44", "isOverTime": true, "id": 2, "contractNo": "sample string 3", "beginDate": "2024-11-21 16:55:44", "endDate": "2024-11-21 16:55:44", "supplierCode": "sample string 4", "customerCode": "sample string 5", "name": "sample string 6", "nameEn": "sample string 7", "nameAbbr": "sample string 8", "nameEnAbbr": "sample string 9", "taxNo": "sample string 10", "countryCode": "sample string 11", "countryName": "sample string 12", "address": "sample string 13", "addresssEn": "sample string 14", "contactMan": "sample string 15", "email": "sample string 16", "tel": "sample string 17", "invoiceHead": "sample string 18", "invoiceAddress": "sample string 19", "bank": "sample string 20", "bankAccount": "sample string 21", "addDate": "2024-11-21 16:55:44", "addUser": "sample string 22", "updateDate": "2024-11-21 16:55:44", "updateUser": "sample string 23", "remindDay": 24, "contractType": "sample string 25", "pageSize": 26, "pageIndex": 27, "totalCount": 28 }
application/xml, text/xml
Sample:
<EntBasContract xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model"> <PageIndex>27</PageIndex> <PageSize>26</PageSize> <TotalCount>28</TotalCount> <AddDate>2024-11-21T16:55:44.0073163+08:00</AddDate> <AddDateBegin>2024-11-21T16:55:44.0073163+08:00</AddDateBegin> <AddDateEnd>2024-11-21T16:55:44.0073163+08:00</AddDateEnd> <AddUser>sample string 22</AddUser> <Address>sample string 13</Address> <AddresssEn>sample string 14</AddresssEn> <Bank>sample string 20</Bank> <BankAccount>sample string 21</BankAccount> <BeginDate>2024-11-21T16:55:44.0073163+08:00</BeginDate> <BeginDateBegin>2024-11-21T16:55:44.0073163+08:00</BeginDateBegin> <BeginDateEnd>2024-11-21T16:55:44.0073163+08:00</BeginDateEnd> <ContactMan>sample string 15</ContactMan> <ContractNo>sample string 3</ContractNo> <ContractType>sample string 25</ContractType> <CountryCode>sample string 11</CountryCode> <CountryName>sample string 12</CountryName> <CustomerCode>sample string 5</CustomerCode> <Email>sample string 16</Email> <EndDate>2024-11-21T16:55:44.0073163+08:00</EndDate> <EndDateBegin>2024-11-21T16:55:44.0073163+08:00</EndDateBegin> <EndDateEnd>2024-11-21T16:55:44.0073163+08:00</EndDateEnd> <Id>2</Id> <InvoiceAddress>sample string 19</InvoiceAddress> <InvoiceHead>sample string 18</InvoiceHead> <IsOverTime>true</IsOverTime> <Name>sample string 6</Name> <NameAbbr>sample string 8</NameAbbr> <NameEn>sample string 7</NameEn> <NameEnAbbr>sample string 9</NameEnAbbr> <RemindDay>24</RemindDay> <SupplierCode>sample string 4</SupplierCode> <TaxNo>sample string 10</TaxNo> <Tel>sample string 17</Tel> <UpdateDate>2024-11-21T16:55:44.0073163+08:00</UpdateDate> <UpdateDateBegin>2024-11-21T16:55:44.0073163+08:00</UpdateDateBegin> <UpdateDateEnd>2024-11-21T16:55:44.0073163+08:00</UpdateDateEnd> <UpdateUser>sample string 23</UpdateUser> </EntBasContract>
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>