http://yktapi.instrument.com.cn/api/GetReceiptByUserId?plat={PLAT}&userid={USERID}&timestamp={TIMESTAMP}&sn={SN} 的引用

获取用户的发票填写信息

Url: http://yktapi.instrument.com.cn/api/GetReceiptByUserId?plat={PLAT}&userid={USERID}&timestamp={TIMESTAMP}&sn={SN}

HTTP 方法: GET

消息方向 格式 正文
请求 N/A 请求 正文为空。
响应 Xml 示例,架构
响应 Json 示例

以下是示例响应 XML 正文:

<JsonResultOfReceiptInfoi2Z876Bf xmlns="http://schemas.datacontract.org/2004/07/Service.Wcf">
  <message>字符串内容</message>
  <ok>2147483647</ok>
  <page>
    <count>2147483647</count>
    <index>2147483647</index>
    <size>2147483647</size>
  </page>
  <result>
    <ApplyDate xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">1999-05-31T11:20:00</ApplyDate>
    <ApplyDate2 xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">1999-05-31T11:20:00</ApplyDate2>
    <Company xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</Company>
    <CompanyId xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</CompanyId>
    <DDLSH xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</DDLSH>
    <DownDate xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">1999-05-31T11:20:00</DownDate>
    <FPDM xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</FPDM>
    <Id xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">2147483647</Id>
    <KPRQ xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">1999-05-31T11:20:00</KPRQ>
    <Money xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">12678967.543233</Money>
    <OrderId xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</OrderId>
    <ReceiptMoney xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">12678967.543233</ReceiptMoney>
    <ReceiptNUM xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</ReceiptNUM>
    <SignContent xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</SignContent>
    <Status xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">2147483647</Status>
    <UserId xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">2147483647</UserId>
    <UserName xmlns="http://schemas.datacontract.org/2004/07/PersonPay.Core">字符串内容</UserName>
  </result>
</JsonResultOfReceiptInfoi2Z876Bf>

以下是示例响应 Json 正文:

{
	"message":"字符串内容",
	"ok":2147483647,
	"page":{
		"count":2147483647,
		"index":2147483647,
		"size":2147483647
	},
	"result":{
		"ApplyDate":"\/Date(928120800000+0800)\/",
		"ApplyDate2":"\/Date(928120800000+0800)\/",
		"Company":"字符串内容",
		"CompanyId":"字符串内容",
		"DDLSH":"字符串内容",
		"DownDate":"\/Date(928120800000+0800)\/",
		"FPDM":"字符串内容",
		"Id":2147483647,
		"KPRQ":"\/Date(928120800000+0800)\/",
		"Money":12678967.543233,
		"OrderId":"字符串内容",
		"ReceiptMoney":12678967.543233,
		"ReceiptNUM":"字符串内容",
		"SignContent":"字符串内容",
		"Status":2147483647,
		"UserId":2147483647,
		"UserName":"字符串内容"
	}
}

以下是响应 XML 架构:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Service.Wcf" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Service.Wcf" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/PersonPay.Core" />
  <xs:complexType name="JsonResultOfReceiptInfoi2Z876Bf">
    <xs:annotation>
      <xs:appinfo>
        <GenericType Name="JsonResultOf{0}{#}" Namespace="http://schemas.datacontract.org/2004/07/Service.Wcf" xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
          <GenericParameter Name="ReceiptInfo" Namespace="http://schemas.datacontract.org/2004/07/PersonPay.Core" />
        </GenericType>
      </xs:appinfo>
    </xs:annotation>
    <xs:sequence>
      <xs:element minOccurs="0" name="message" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="ok" type="xs:int" />
      <xs:element minOccurs="0" name="page" nillable="true" type="tns:Pages">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="result" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/PersonPay.Core" type="q1:ReceiptInfo" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="JsonResultOfReceiptInfoi2Z876Bf" nillable="true" type="tns:JsonResultOfReceiptInfoi2Z876Bf" />
  <xs:complexType name="Pages">
    <xs:sequence>
      <xs:element minOccurs="0" name="count" type="xs:int" />
      <xs:element minOccurs="0" name="index" type="xs:int">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="size" type="xs:int">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Pages" nillable="true" type="tns:Pages" />
</xs:schema>

其他响应 XML 架构:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/PersonPay.Core" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/PersonPay.Core" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ReceiptInfo">
    <xs:sequence>
      <xs:element minOccurs="0" name="ApplyDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="ApplyDate2" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Company" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CompanyId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DDLSH" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DownDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="FPDM" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Id" type="xs:int" />
      <xs:element minOccurs="0" name="KPRQ" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Money" type="xs:decimal" />
      <xs:element minOccurs="0" name="OrderId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ReceiptMoney" type="xs:decimal" />
      <xs:element minOccurs="0" name="ReceiptNUM" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SignContent" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Status" type="xs:int" />
      <xs:element minOccurs="0" name="UserId" type="xs:int" />
      <xs:element minOccurs="0" name="UserName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ReceiptInfo" nillable="true" type="tns:ReceiptInfo" />
</xs:schema>

<xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="schema">
    <xs:complexType />
  </xs:element>
</xs:schema>