POST api/shop/put/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

yoshop_store_shop
NameDescriptionTypeAdditional information
id

integer

None.

shop_name

string

Required

String length: inclusive between 0 and 500

logo_image_id

integer

None.

linkman

string

Required

String length: inclusive between 0 and 50

phone

string

Required

String length: inclusive between 0 and 50

shop_hours

string

Required

String length: inclusive between 0 and 50

province_id

integer

None.

city_id

integer

None.

region_id

integer

None.

address

string

Required

String length: inclusive between 0 and 500

longitude

string

Required

String length: inclusive between 0 and 50

latitude

string

Required

String length: inclusive between 0 and 50

geohash

string

Required

String length: inclusive between 0 and 50

summary

string

Required

String length: inclusive between 0 and 1000

sort

integer

None.

is_check

integer

None.

status

integer

None.

is_delete

integer

None.

supplier_id

integer

None.

yoshop_supplier

yoshop_supplier_apply

None.

create_time

date

None.

update_time

date

None.

money

integer

None.

freeze_money

integer

None.

total_money

integer

None.

yoshop_card

Collection of yoshop_card

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 with type 'Lio.EF.Model.yoshop_store_shop'. Path 'yoshop_supplier.yoshop_shops'.

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 with type 'Lio.EF.Model.yoshop_store_shop'. Path 'yoshop_supplier.yoshop_shops'.

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

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
}