POST api/Shop/DeletingBasicProductDataApprovalApprove

Request Information

URI Parameters

None.

Body Parameters

DeletingBasicProductDataAppealRequest
NameDescriptionTypeAdditional information
DeleteType

string

Required

DeleteName

string

Required

DeleteReason

string

Required

TypeDeletionDetails

Collection of TDeletionDetails

None.

CatDeletionDetails

Collection of CDeletionDetails

None.

UserName

发起人账号

string

Required

Pwd

发起人密码

string

Required

ProcessCode

审批模板code

string

None.

ApproverDingId

审批人钉钉ID 多个以,分割

string

None.

CcDingId

抄送人钉钉ID 多个以,分割

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DeleteType": "sample string 1",
  "DeleteName": "sample string 2",
  "DeleteReason": "sample string 3",
  "TypeDeletionDetails": [
    {
      "AffecteNum": "sample string 1"
    },
    {
      "AffecteNum": "sample string 1"
    }
  ],
  "CatDeletionDetails": [
    {
      "OnelevelCatNum": "sample string 1",
      "OnelevelCat": "sample string 2",
      "TwolevelCatNum": "sample string 3",
      "TwolevelCat": "sample string 4",
      "ThreelevelCatNum": "sample string 5",
      "ThreelevelCat": "sample string 6",
      "AffecteNum": "sample string 7"
    },
    {
      "OnelevelCatNum": "sample string 1",
      "OnelevelCat": "sample string 2",
      "TwolevelCatNum": "sample string 3",
      "TwolevelCat": "sample string 4",
      "ThreelevelCatNum": "sample string 5",
      "ThreelevelCat": "sample string 6",
      "AffecteNum": "sample string 7"
    }
  ],
  "UserName": "sample string 4",
  "Pwd": "sample string 5",
  "ProcessCode": "sample string 6",
  "ApproverDingId": "sample string 7",
  "CcDingId": "sample string 8"
}

application/xml, text/xml

Sample:
<DeletingBasicProductDataAppealRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.ShopBizModels">
  <ApproverDingId>sample string 7</ApproverDingId>
  <CcDingId>sample string 8</CcDingId>
  <ProcessCode>sample string 6</ProcessCode>
  <Pwd>sample string 5</Pwd>
  <UserName>sample string 4</UserName>
  <CatDeletionDetails>
    <CDeletionDetails>
      <AffecteNum>sample string 7</AffecteNum>
      <OnelevelCat>sample string 2</OnelevelCat>
      <OnelevelCatNum>sample string 1</OnelevelCatNum>
      <ThreelevelCat>sample string 6</ThreelevelCat>
      <ThreelevelCatNum>sample string 5</ThreelevelCatNum>
      <TwolevelCat>sample string 4</TwolevelCat>
      <TwolevelCatNum>sample string 3</TwolevelCatNum>
    </CDeletionDetails>
    <CDeletionDetails>
      <AffecteNum>sample string 7</AffecteNum>
      <OnelevelCat>sample string 2</OnelevelCat>
      <OnelevelCatNum>sample string 1</OnelevelCatNum>
      <ThreelevelCat>sample string 6</ThreelevelCat>
      <ThreelevelCatNum>sample string 5</ThreelevelCatNum>
      <TwolevelCat>sample string 4</TwolevelCat>
      <TwolevelCatNum>sample string 3</TwolevelCatNum>
    </CDeletionDetails>
  </CatDeletionDetails>
  <DeleteName>sample string 2</DeleteName>
  <DeleteReason>sample string 3</DeleteReason>
  <DeleteType>sample string 1</DeleteType>
  <TypeDeletionDetails>
    <TDeletionDetails>
      <AffecteNum>sample string 1</AffecteNum>
    </TDeletionDetails>
    <TDeletionDetails>
      <AffecteNum>sample string 1</AffecteNum>
    </TDeletionDetails>
  </TypeDeletionDetails>
</DeletingBasicProductDataAppealRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DeletingBasicProductDataAppealRequest'.

Response Information

Resource Description

BaseOut
NameDescriptionTypeAdditional information
errcode

错误编码 2:error 401:鉴权失败;200:成功;500:内部错误;

ErrCode

None.

message

消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 2,
  "message": "sample string 1"
}

application/xml, text/xml

Sample:
<BaseOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.HrWxModels">
  <errcode>Error</errcode>
  <message>sample string 1</message>
</BaseOut>