POST api/Stores

Request Information

URI Parameters

None.

Body Parameters

Store
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

OpenTime

time interval

None.

CloseTime

time interval

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "OpenTime": "00:00:00.1234567",
  "CloseTime": "00:00:00.1234567"
}

application/xml, text/xml

Sample:
<Store xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JmplusAPI.Entities.Store">
  <CloseTime>PT0.1234567S</CloseTime>
  <Id>1</Id>
  <Name>sample string 2</Name>
  <OpenTime>PT0.1234567S</OpenTime>
</Store>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Store
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

OpenTime

time interval

None.

CloseTime

time interval

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "OpenTime": "00:00:00.1234567",
  "CloseTime": "00:00:00.1234567"
}

application/xml, text/xml

Sample:
<Store xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JmplusAPI.Entities.Store">
  <CloseTime>PT0.1234567S</CloseTime>
  <Id>1</Id>
  <Name>sample string 2</Name>
  <OpenTime>PT0.1234567S</OpenTime>
</Store>