POST api/ProductShapeTypes/POST

Request Information

URI Parameters

None.

Body Parameters

ProductShapeType
NameDescriptionTypeAdditional information
Id

integer

None.

Key

string

None.

IconUrl

string

None.

ProductShapeTypeTranslators

Collection of ProductShapeTypeTranslator

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Key": "sample string 2",
  "IconUrl": "sample string 3",
  "ProductShapeTypeTranslators": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "Country": "sample string 3",
      "Lang": "sample string 4"
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "Country": "sample string 3",
      "Lang": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<ProductShapeType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VezeetaCrmApi.Models">
  <IconUrl>sample string 3</IconUrl>
  <Id>1</Id>
  <Key>sample string 2</Key>
  <ProductShapeTypeTranslators>
    <ProductShapeTypeTranslator>
      <Country>sample string 3</Country>
      <Id>1</Id>
      <Lang>sample string 4</Lang>
      <Name>sample string 2</Name>
    </ProductShapeTypeTranslator>
    <ProductShapeTypeTranslator>
      <Country>sample string 3</Country>
      <Id>1</Id>
      <Lang>sample string 4</Lang>
      <Name>sample string 2</Name>
    </ProductShapeTypeTranslator>
  </ProductShapeTypeTranslators>
</ProductShapeType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.