POST api/DrTh/InsertStore

Request Information

URI Parameters

None.

Body Parameters

StoreModel
NameDescriptionTypeAdditional information
pkid

integer

None.

Store_name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "pkid": 1,
  "store_name": "sample string 2"
}

application/xml, text/xml

Sample:
<DrThController.StoreModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Goldsoft_WebApi.Controllers">
  <Store_name>sample string 2</Store_name>
  <pkid>1</pkid>
</DrThController.StoreModel>

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

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="pkid"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Store_name"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.