POST api/supplier/apply/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

yoshop_supplier_apply
NameDescriptionTypeAdditional information
id

integer

None.

openid

string

None.

real_name

string

None.

mobile

string

None.

region

integer

None.

yoshop_region

yoshop_region

None.

referee_id

integer

None.

apply_type

integer

None.

apply_time

date

None.

apply_status

integer

None.

audit_time

date

None.

reject_reason

string

None.

is_delete

integer

None.

create_time

date

None.

update_time

date

None.

yoshop_shops

Collection of yoshop_store_shop

None.

address

string

None.

longitude

string

None.

latitude

string

None.

shop_name

string

None.

regions

string

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'yoshop_supplier' with type 'Lio.EF.Model.yoshop_supplier_apply'. Path 'yoshop_shops[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'yoshop_supplier' with type 'Lio.EF.Model.yoshop_supplier_apply'. Path 'yoshop_shops[0]'.

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

Response Information

Resource Description

SiteListResult
NameDescriptionTypeAdditional information
msg

string

None.

code

integer

None.

data

Object

None.

count

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "msg": "sample string 1",
  "code": 2,
  "data": {},
  "count": 4
}