POST api/SavePurchaseConvertInvCode
保存物料转换
Request Information
URI Parameters
None.
Body Parameters
参数
OrderPurchaseConvertInvCodeSaveMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| SellCompanyID |
供应商ID |
integer |
None. |
| FromInvCode |
本公司物料编号 |
string |
None. |
| ToInvCode |
供应商物料编号 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SellCompanyID": 1,
"FromInvCode": "sample string 2",
"ToInvCode": "sample string 3"
}
application/xml, text/xml
Sample:
<OrderPurchaseConvertInvCodeSaveMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JR.SAAS.Models.Purchase"> <FromInvCode>sample string 2</FromInvCode> <SellCompanyID>1</SellCompanyID> <ToInvCode>sample string 3</ToInvCode> </OrderPurchaseConvertInvCodeSaveMessage>
Response Information
Resource Description
保存物料转换
ApiRet| Name | Description | Type | Additional information |
|---|---|---|---|
| RetCode |
状态码 |
string |
None. |
| RetMsg |
状态描述 |
string |
None. |
| Message |
数据实体 |
Object |
None. |
| Total |
查询结果所有页的总条数 |
integer |
None. |
| TotalPage |
总页数 |
integer |
None. |
| Redirect |
需重定向的地址 |
string |
None. |
| FieldStr |
列表字段管理 |
Object |
None. |
| CurrentTime |
当前时间 |
date |
None. |
| IDX |
主键 |
integer |
None. |
| DelFlag |
删除标识 0未删除 1:已删除 |
integer |
None. |
| PageIndex |
列表请求参数 |
integer |
None. |
| PageSize |
列表请求参数 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"RetCode": "sample string 1",
"RetMsg": "sample string 2",
"Message": {},
"Total": 4,
"TotalPage": 5,
"Redirect": "sample string 6",
"FieldStr": {},
"CurrentTime": "2026-04-05 22:29:51",
"IDX": 9,
"DelFlag": 10,
"PageIndex": 11,
"PageSize": 12
}
application/xml, text/xml
Sample:
<ApiRet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JR.SAAS.Models.Common"> <_x003C_DelFlag_x003E_k__BackingField>10</_x003C_DelFlag_x003E_k__BackingField> <_x003C_IDX_x003E_k__BackingField>9</_x003C_IDX_x003E_k__BackingField> <_x003C_PageIndex_x003E_k__BackingField>11</_x003C_PageIndex_x003E_k__BackingField> <_x003C_PageSize_x003E_k__BackingField>12</_x003C_PageSize_x003E_k__BackingField> <CurrentTime>2026-04-05T22:29:51.3989377+08:00</CurrentTime> <FieldStr /> <Message /> <Redirect>sample string 6</Redirect> <RetCode>sample string 1</RetCode> <RetMsg>sample string 2</RetMsg> <Total>4</Total> <TotalPage>5</TotalPage> </ApiRet>