POST api/General/CreateStore

Request Information

URI Parameters

None.

Body Parameters

CreateStoreRequest
NameDescriptionTypeAdditional information
Store

Store

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Store": {
    "StoreId": "sample string 1",
    "StoreName": "sample string 2",
    "MarketPlaceId": 3,
    "MarketPlaceName": "sample string 4",
    "MarketPlaceShortName": "sample string 5",
    "StoreStatus": 6,
    "ApiStatus": 7,
    "UserId": "sample string 8"
  },
  "Token": "sample string 1"
}

application/xml, text/xml

Sample:
<CreateStoreRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Store.Request">
  <Token xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 1</Token>
  <Store xmlns:d2p1="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Store">
    <d2p1:ApiStatus>7</d2p1:ApiStatus>
    <d2p1:MarketPlaceId>3</d2p1:MarketPlaceId>
    <d2p1:MarketPlaceName>sample string 4</d2p1:MarketPlaceName>
    <d2p1:MarketPlaceShortName>sample string 5</d2p1:MarketPlaceShortName>
    <d2p1:StoreId>sample string 1</d2p1:StoreId>
    <d2p1:StoreName>sample string 2</d2p1:StoreName>
    <d2p1:StoreStatus>6</d2p1:StoreStatus>
    <d2p1:UserId>sample string 8</d2p1:UserId>
  </Store>
</CreateStoreRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CreateStoreResponse
NameDescriptionTypeAdditional information
Store

Store

None.

ErrorCode

string

None.

ErrorMessage

string

None.

ErrorCategory

string

None.

Result

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Store": {
    "StoreId": "sample string 1",
    "StoreName": "sample string 2",
    "MarketPlaceId": 3,
    "MarketPlaceName": "sample string 4",
    "MarketPlaceShortName": "sample string 5",
    "StoreStatus": 6,
    "ApiStatus": 7,
    "UserId": "sample string 8"
  },
  "ErrorCode": "sample string 1",
  "ErrorMessage": "sample string 2",
  "ErrorCategory": "sample string 3",
  "Result": true
}

application/xml, text/xml

Sample:
<CreateStoreResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Store.Response">
  <ErrorCategory xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 3</ErrorCategory>
  <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 1</ErrorCode>
  <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 2</ErrorMessage>
  <Result xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">true</Result>
  <Store xmlns:d2p1="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Store">
    <d2p1:ApiStatus>7</d2p1:ApiStatus>
    <d2p1:MarketPlaceId>3</d2p1:MarketPlaceId>
    <d2p1:MarketPlaceName>sample string 4</d2p1:MarketPlaceName>
    <d2p1:MarketPlaceShortName>sample string 5</d2p1:MarketPlaceShortName>
    <d2p1:StoreId>sample string 1</d2p1:StoreId>
    <d2p1:StoreName>sample string 2</d2p1:StoreName>
    <d2p1:StoreStatus>6</d2p1:StoreStatus>
    <d2p1:UserId>sample string 8</d2p1:UserId>
  </Store>
</CreateStoreResponse>