POST api/Lunchbox?phone={phone}&keyword={keyword}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
phone

string

Required

keyword

string

Required

Body Parameters

None.

Response Information

Resource Description

LunchboxResponse
NameDescriptionTypeAdditional information
Lunchbox

Lunchbox

None.

Success

boolean

None.

ExceptionMessage

string

None.

SuccessMessage

string

None.

IsBaseResponse

boolean

None.

NewSessionLunchcartCreated

boolean

None.

Response 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 'NodeProduct' with type 'Specialtys.DTO.Product'. Path 'Lunchbox.Items[0].ChildProductList[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 'NodeProduct' with type 'Specialtys.DTO.Product'. Path 'Lunchbox.Items[0].ChildProductList[0]'.

text/html

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/html'. Exception message: Self referencing loop detected for property 'NodeProduct' with type 'Specialtys.DTO.Product'. Path 'Lunchbox.Items[0].ChildProductList[0]'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[Specialtys.DTO.ChildProduct, Specialtys.DTO, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[Specialtys.DTO.ChildProduct, Specialtys.DTO, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.