GET dz_api/BossH5/SearchContracts?custId={custId}

查询合同

Request Information

URI Parameters

NameDescriptionTypeAdditional information
custId

integer

Required

Body Parameters

None.

Response Information

Resource Description

查询合同

Collection of ContractBriefInfo
NameDescriptionTypeAdditional information
ContractId

合同ID

integer

None.

ContractNo

合同编号

string

None.

ServiceType

服务类型

integer

None.

ServiceTypeName

服务类型名称

string

None.

SignedDate

签订日期

date

None.

StrSignedDate

签订日期(格式化)

string

None.

Amount

合同金额

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ContractId": 1,
    "ContractNo": "sample string 2",
    "ServiceType": 3,
    "ServiceTypeName": "sample string 4",
    "SignedDate": "2024-04-29T00:03:30.1247066+08:00",
    "StrSignedDate": "2024-04-29",
    "Amount": 6.0
  },
  {
    "ContractId": 1,
    "ContractNo": "sample string 2",
    "ServiceType": 3,
    "ServiceTypeName": "sample string 4",
    "SignedDate": "2024-04-29T00:03:30.1247066+08:00",
    "StrSignedDate": "2024-04-29",
    "Amount": 6.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfContractBriefInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.Model.Customer">
  <ContractBriefInfo>
    <Amount>6</Amount>
    <ContractId>1</ContractId>
    <ContractNo>sample string 2</ContractNo>
    <ServiceType>3</ServiceType>
    <ServiceTypeName>sample string 4</ServiceTypeName>
    <SignedDate>2024-04-29T00:03:30.1247066+08:00</SignedDate>
  </ContractBriefInfo>
  <ContractBriefInfo>
    <Amount>6</Amount>
    <ContractId>1</ContractId>
    <ContractNo>sample string 2</ContractNo>
    <ServiceType>3</ServiceType>
    <ServiceTypeName>sample string 4</ServiceTypeName>
    <SignedDate>2024-04-29T00:03:30.1247066+08:00</SignedDate>
  </ContractBriefInfo>
</ArrayOfContractBriefInfo>