POST api/SaveCompanySupplier

保存客商

Request Information

URI Parameters

None.

Body Parameters

FirstCampCompanyParams
NameDescriptionTypeAdditional information
IDX

主键

integer

None.

ApplyDate

申请日期

date

None.

ApplyDepartmentID

申请部门id

integer

None.

ApplyDepartment

申请部门

string

None.

ApplyUserID

申请人id

integer

None.

ApplyUser

申请人

string

None.

FillFormUserID

填表人id

integer

None.

FillFormUser

填表人

string

None.

CompanyType

公司类型 1-我的客户;2-我的供应商;4-既是客户,又是供应商

integer

None.

CompanyName

公司名称

string

None.

CreditCode

社会统一信用代码

string

None.

CompanyAbbreviation

公司简称

string

None.

CompanyNo

公司编号(系统生成)

string

None.

ContactName

联系人

string

None.

ContactTel

联系方式

string

None.

Fax

传真

string

None.

Email

邮箱

string

None.

CorporationName

法人

string

None.

CorporationTel

法人联系方式

string

None.

AuthorizedPerson

被授权人

string

None.

Province

string

None.

City

string

None.

Area

string

None.

Street

街道

string

None.

Bank

开户银行

string

None.

BranchBankProvince

开户支行 省

string

None.

BranchBankCity

string

None.

BranchBankArea

string

None.

BranchBank

支行名称

string

None.

PayType

付款方式

string

None.

PaymentCollectionDays

回款账期(天)

string

None.

TaxRate

开票税率

decimal number

None.

Remark

备注

string

None.

Status

状态

integer

None.

DelFlag

删除标记

integer

None.

WriteTime

创建时间

date

None.

UpdateTime

最后更新时间

date

None.

CompanyCertList

首营公司证照 [{IDX:1,FirstCampCompanyID:2,CertificateCode:3,TypeID:4,PhotoUrl:5,ValidTo:6,IsLongRange:7,CertificateName:8,CompanyName:9,Remark:10,Address:11},{...},{...}]

string

None.

OperType

操作类型 1:保存草稿 2:发起审核

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IDX": 1,
  "ApplyDate": "2026-04-05 22:39:43",
  "ApplyDepartmentID": 2,
  "ApplyDepartment": "sample string 3",
  "ApplyUserID": 4,
  "ApplyUser": "sample string 5",
  "FillFormUserID": 6,
  "FillFormUser": "sample string 7",
  "CompanyType": 8,
  "CompanyName": "sample string 9",
  "CreditCode": "sample string 10",
  "CompanyAbbreviation": "sample string 11",
  "CompanyNo": "sample string 12",
  "ContactName": "sample string 13",
  "ContactTel": "sample string 14",
  "Fax": "sample string 15",
  "Email": "sample string 16",
  "CorporationName": "sample string 17",
  "CorporationTel": "sample string 18",
  "AuthorizedPerson": "sample string 19",
  "Province": "sample string 20",
  "City": "sample string 21",
  "Area": "sample string 22",
  "Street": "sample string 23",
  "Bank": "sample string 24",
  "BranchBankProvince": "sample string 25",
  "BranchBankCity": "sample string 26",
  "BranchBankArea": "sample string 27",
  "BranchBank": "sample string 28",
  "PayType": "sample string 29",
  "PaymentCollectionDays": "sample string 30",
  "TaxRate": 31.0,
  "Remark": "sample string 32",
  "Status": 33,
  "DelFlag": 34,
  "WriteTime": "2026-04-05 22:39:43",
  "UpdateTime": "2026-04-05 22:39:43",
  "CompanyCertList": "sample string 37",
  "OperType": 38
}

application/xml, text/xml

Sample:
<FirstCampCompanyParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JR.SAAS.Web.API.Models">
  <ApplyDate>2026-04-05T22:39:43.1901692+08:00</ApplyDate>
  <ApplyDepartment>sample string 3</ApplyDepartment>
  <ApplyDepartmentID>2</ApplyDepartmentID>
  <ApplyUser>sample string 5</ApplyUser>
  <ApplyUserID>4</ApplyUserID>
  <Area>sample string 22</Area>
  <AuthorizedPerson>sample string 19</AuthorizedPerson>
  <Bank>sample string 24</Bank>
  <BranchBank>sample string 28</BranchBank>
  <BranchBankArea>sample string 27</BranchBankArea>
  <BranchBankCity>sample string 26</BranchBankCity>
  <BranchBankProvince>sample string 25</BranchBankProvince>
  <City>sample string 21</City>
  <CompanyAbbreviation>sample string 11</CompanyAbbreviation>
  <CompanyCertList>sample string 37</CompanyCertList>
  <CompanyName>sample string 9</CompanyName>
  <CompanyNo>sample string 12</CompanyNo>
  <CompanyType>8</CompanyType>
  <ContactName>sample string 13</ContactName>
  <ContactTel>sample string 14</ContactTel>
  <CorporationName>sample string 17</CorporationName>
  <CorporationTel>sample string 18</CorporationTel>
  <CreditCode>sample string 10</CreditCode>
  <DelFlag>34</DelFlag>
  <Email>sample string 16</Email>
  <Fax>sample string 15</Fax>
  <FillFormUser>sample string 7</FillFormUser>
  <FillFormUserID>6</FillFormUserID>
  <IDX>1</IDX>
  <OperType>38</OperType>
  <PayType>sample string 29</PayType>
  <PaymentCollectionDays>sample string 30</PaymentCollectionDays>
  <Province>sample string 20</Province>
  <Remark>sample string 32</Remark>
  <Status>33</Status>
  <Street>sample string 23</Street>
  <TaxRate>31</TaxRate>
  <UpdateTime>2026-04-05T22:39:43.1901692+08:00</UpdateTime>
  <WriteTime>2026-04-05T22:39:43.1901692+08:00</WriteTime>
</FirstCampCompanyParams>

Response Information

Resource Description

保存客商

ApiRet
NameDescriptionTypeAdditional 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:39:43",
  "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:39:43.1901692+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>