POST api/Report/Apply?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}

三合一提报

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DomainId

域Id

globally unique identifier

None.

AccountId

账户Id

globally unique identifier

None.

PersonId

人员Id

globally unique identifier

None.

Body Parameters

CreateReportApplyDto
NameDescriptionTypeAdditional information
CustomerID

globally unique identifier

None.

ReportType

string

None.

ApplyNumber

string

None.

SKUCount

string

None.

Remark

string

None.

OrderDate

string

None.

ProductList

Collection of RTOrderitemReportApply

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerID": "7cf84515-658c-4b41-99ae-422c6ec0aa6e",
  "ReportType": "sample string 2",
  "ApplyNumber": "sample string 3",
  "SKUCount": "sample string 4",
  "Remark": "sample string 5",
  "OrderDate": "sample string 6",
  "ProductList": [
    {
      "ReportType": "sample string 1",
      "TID": "feb72969-8fc3-4ba9-97c3-11ae982bf179",
      "ProductName": "sample string 3",
      "ProductCount": 4.0
    },
    {
      "ReportType": "sample string 1",
      "TID": "feb72969-8fc3-4ba9-97c3-11ae982bf179",
      "ProductName": "sample string 3",
      "ProductCount": 4.0
    }
  ]
}

application/xml, text/xml

Sample:
<CreateReportApplyDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity">
  <ApplyNumber>sample string 3</ApplyNumber>
  <CustomerID>7cf84515-658c-4b41-99ae-422c6ec0aa6e</CustomerID>
  <OrderDate>sample string 6</OrderDate>
  <ProductList>
    <RTOrderitemReportApply>
      <ProductCount>4</ProductCount>
      <ProductName>sample string 3</ProductName>
      <ReportType>sample string 1</ReportType>
      <TID>feb72969-8fc3-4ba9-97c3-11ae982bf179</TID>
    </RTOrderitemReportApply>
    <RTOrderitemReportApply>
      <ProductCount>4</ProductCount>
      <ProductName>sample string 3</ProductName>
      <ReportType>sample string 1</ReportType>
      <TID>feb72969-8fc3-4ba9-97c3-11ae982bf179</TID>
    </RTOrderitemReportApply>
  </ProductList>
  <Remark>sample string 5</Remark>
  <ReportType>sample string 2</ReportType>
  <SKUCount>sample string 4</SKUCount>
</CreateReportApplyDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfBoolean
NameDescriptionTypeAdditional information
Code

ReturnCode

None.

Message

string

None.

Data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 200,
  "Message": "sample string 1",
  "Data": true
}

application/xml, text/xml

Sample:
<ResultModelOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility">
  <Code>Success</Code>
  <Data>true</Data>
  <Message>sample string 1</Message>
</ResultModelOfboolean>