POST new/serviceproduct/confirm
是否通过手动添加的已购产品数据
Request Information
URI Parameters
None.
Body Parameters
ServiceProductConfirmRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ListId |
待确认的已购产品 ID 列表。 |
Collection of string |
None. |
| IsTrueOrFalse |
确认标记(true=通过,false=待确认)。 |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"ListId": [
"sample string 1",
"sample string 2"
],
"IsTrueOrFalse": true
}
application/xml, text/xml
Sample:
<ServiceProductConfirmRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos">
<IsTrueOrFalse>true</IsTrueOrFalse>
<ListId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ListId>
</ServiceProductConfirmRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiDataResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Ok |
接口是否成功。 |
boolean |
None. |
| Data |
返回数据。 |
Object |
None. |
| Msg |
返回消息。 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Ok": true,
"Data": {},
"Msg": "sample string 3"
}
application/xml, text/xml
Sample:
<ApiDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos"> <Data /> <Msg>sample string 3</Msg> <Ok>true</Ok> </ApiDataResponse>