POST api/Shop/XmhVisitBonusApprovalApprove

Request Information

URI Parameters

None.

Body Parameters

XmhVisitBonusApprovalRequest
NameDescriptionTypeAdditional information
VisitorName

string

Required

VisitorCompany

string

Required

VisitorTime

string

Required

VisitorNum

string

Required

IsNeedSitNo

string

Required

MeetingAgenda

string

Required

MeetingTime

string

Required

IsNeedManage

string

Required

XmhManageNames

string

None.

ReceptionPersonnel

string

Required

ProcessController

string

Required

Entourage

string

Required

IsNeedMeal

string

Required

MealPlace

string

None.

IsNeedVisitLaborProCol

string

Required

IsNeedVisitExhibitionHall

string

Required

IsNeedGifts

string

Required

Status

string

None.

BonusPersonnel

string

Required

BonusApplication

string

Required

BonusReason

string

Required

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:
{
  "VisitorName": "sample string 1",
  "VisitorCompany": "sample string 2",
  "VisitorTime": "sample string 3",
  "VisitorNum": "sample string 4",
  "IsNeedSitNo": "sample string 5",
  "MeetingAgenda": "sample string 6",
  "MeetingTime": "sample string 7",
  "IsNeedManage": "sample string 8",
  "XmhManageNames": "sample string 9",
  "ReceptionPersonnel": "sample string 10",
  "ProcessController": "sample string 11",
  "Entourage": "sample string 12",
  "IsNeedMeal": "sample string 13",
  "MealPlace": "sample string 14",
  "IsNeedVisitLaborProCol": "sample string 15",
  "IsNeedVisitExhibitionHall": "sample string 16",
  "IsNeedGifts": "sample string 17",
  "Status": "sample string 18",
  "BonusPersonnel": "sample string 19",
  "BonusApplication": "sample string 20",
  "BonusReason": "sample string 21",
  "UserName": "sample string 22",
  "Pwd": "sample string 23",
  "ProcessCode": "sample string 24",
  "ApproverDingId": "sample string 25",
  "CcDingId": "sample string 26"
}

application/xml, text/xml

Sample:
<XmhVisitBonusApprovalRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.ShopBizModels">
  <ApproverDingId>sample string 25</ApproverDingId>
  <CcDingId>sample string 26</CcDingId>
  <ProcessCode>sample string 24</ProcessCode>
  <Pwd>sample string 23</Pwd>
  <UserName>sample string 22</UserName>
  <BonusApplication>sample string 20</BonusApplication>
  <BonusPersonnel>sample string 19</BonusPersonnel>
  <BonusReason>sample string 21</BonusReason>
  <Entourage>sample string 12</Entourage>
  <IsNeedGifts>sample string 17</IsNeedGifts>
  <IsNeedManage>sample string 8</IsNeedManage>
  <IsNeedMeal>sample string 13</IsNeedMeal>
  <IsNeedSitNo>sample string 5</IsNeedSitNo>
  <IsNeedVisitExhibitionHall>sample string 16</IsNeedVisitExhibitionHall>
  <IsNeedVisitLaborProCol>sample string 15</IsNeedVisitLaborProCol>
  <MealPlace>sample string 14</MealPlace>
  <MeetingAgenda>sample string 6</MeetingAgenda>
  <MeetingTime>sample string 7</MeetingTime>
  <ProcessController>sample string 11</ProcessController>
  <ReceptionPersonnel>sample string 10</ReceptionPersonnel>
  <Status>sample string 18</Status>
  <VisitorCompany>sample string 2</VisitorCompany>
  <VisitorName>sample string 1</VisitorName>
  <VisitorNum>sample string 4</VisitorNum>
  <VisitorTime>sample string 3</VisitorTime>
  <XmhManageNames>sample string 9</XmhManageNames>
</XmhVisitBonusApprovalRequest>

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 'XmhVisitBonusApprovalRequest'.

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>