POST api/ProductOrder/GetProductAndShippingAddres

通过商品ID返回商品基本信息和默认收货地址

Request Information

URI Parameters

None.

Body Parameters

GetProductDetailCriteria
NameDescriptionTypeAdditional information
ProductType

商品类型,1 魔鬼刷题营,2 课程

Enum_ProductType

None.

OrganizationId

前端不用传

integer

None.

StudentId

前端不用传

integer

None.

UserToken

当前登录用户的UserToken,由服务端在用户登录成功之后生成,并在整个访问过程中回传

string

None.

DomainName

来访域名(用户访问该站点时输入的域名)

string

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductType": 1,
  "OrganizationId": 1,
  "StudentId": 2,
  "UserToken": "sample string 3",
  "DomainName": "sample string 4",
  "Id": 5
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIServiceResult
NameDescriptionTypeAdditional information
State

执行结果反馈:1表示成功、0表示失败, -1用户Token验证失败, 其它出错类型(值将小于-1)与具体业务关联紧密,详情可见Msg描述内容

integer

None.

Msg

返回的错误或描述信息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "State": 1,
  "Msg": "sample string 2"
}