POST api/ShopUnbindReason/Add

Request Information

URI Parameters

None.

Body Parameters

ShopUnbindReasonDto
NameDescriptionTypeAdditional information
ReasonType

ReasonType

None.

ReasonContent

string

None.

ShopId

unsigned integer

None.

Contact

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ReasonType": {
    "AuthorizationError": true,
    "BindChange": true,
    "ShopClosed": true,
    "LackCunction": true,
    "SystemUnstable": true,
    "PoorInteractivity": true,
    "Costly": true,
    "AfterSalesQuestion": true,
    "Other": true
  },
  "ReasonContent": "sample string 1",
  "ShopId": 2,
  "Contact": "sample string 3"
}

application/xml, text/xml

Sample:
<ShopUnbindReasonDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MS.Log.Dto">
  <Contact>sample string 3</Contact>
  <ReasonContent>sample string 1</ReasonContent>
  <ReasonType>
    <AfterSalesQuestion>true</AfterSalesQuestion>
    <AuthorizationError>true</AuthorizationError>
    <BindChange>true</BindChange>
    <Costly>true</Costly>
    <LackCunction>true</LackCunction>
    <Other>true</Other>
    <PoorInteractivity>true</PoorInteractivity>
    <ShopClosed>true</ShopClosed>
    <SystemUnstable>true</SystemUnstable>
  </ReasonType>
  <ShopId>2</ShopId>
</ShopUnbindReasonDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseResultOfBoolean
NameDescriptionTypeAdditional information
Status

boolean

None.

ErrorCode

string

None.

ErrorMessage

string

None.

Data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "ErrorCode": "sample string 2",
  "ErrorMessage": "sample string 3",
  "Data": true
}

application/xml, text/xml

Sample:
<ResponseResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Willv.Common">
  <Data>true</Data>
  <ErrorCode>sample string 2</ErrorCode>
  <ErrorMessage>sample string 3</ErrorMessage>
  <Status>true</Status>
</ResponseResultOfboolean>