POST api/Shop/XmhReceptionMealReviewApprovalApprove
招待餐审核审批
Request Information
URI Parameters
None.
Body Parameters
XmhReceptionMealReviewApprovalRequestName | Description | Type | Additional information |
---|---|---|---|
mealDetails |
餐品 |
Collection of MealDetail |
None. |
meal_money |
招待餐金额 |
decimal number |
None. |
meal_place |
就餐地点 |
string |
None. |
meal_time |
就餐时间 |
string |
None. |
pic_url |
图片 |
string |
None. |
meal_remark |
备注 |
string |
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:
{ "mealDetails": [ { "dish_name": "sample string 1", "dish_num": 2, "dish_price": 3.0 }, { "dish_name": "sample string 1", "dish_num": 2, "dish_price": 3.0 } ], "meal_money": 1.0, "meal_place": "sample string 2", "meal_time": "sample string 3", "pic_url": "sample string 4", "meal_remark": "sample string 5", "UserName": "sample string 6", "Pwd": "sample string 7", "ProcessCode": "sample string 8", "ApproverDingId": "sample string 9", "CcDingId": "sample string 10" }
application/xml, text/xml
Sample:
<XmhReceptionMealReviewApprovalRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.ShopBizModels"> <ApproverDingId>sample string 9</ApproverDingId> <CcDingId>sample string 10</CcDingId> <ProcessCode>sample string 8</ProcessCode> <Pwd>sample string 7</Pwd> <UserName>sample string 6</UserName> <mealDetails> <MealDetail> <dish_name>sample string 1</dish_name> <dish_num>2</dish_num> <dish_price>3</dish_price> </MealDetail> <MealDetail> <dish_name>sample string 1</dish_name> <dish_num>2</dish_num> <dish_price>3</dish_price> </MealDetail> </mealDetails> <meal_money>1</meal_money> <meal_place>sample string 2</meal_place> <meal_remark>sample string 5</meal_remark> <meal_time>sample string 3</meal_time> <pic_url>sample string 4</pic_url> </XmhReceptionMealReviewApprovalRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
BaseOutName | Description | Type | Additional 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>