POST api/StickerType/Upsert

Request Information

URI Parameters

None.

Body Parameters

StickerTypeViewModel
NameDescriptionTypeAdditional information
descriptions

Dictionary of string [key] and string [value]

None.

code

string

Required

Max length: 50

id

globally unique identifier

None.

technicalDescription

string

Required

Max length: 100

active

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "descriptions": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "code": "sample string 1",
  "id": "12fa3a4d-4ebc-43d8-858b-98c469f009f9",
  "technicalDescription": "sample string 3",
  "active": true
}

application/xml, text/xml

Sample:
<stickerType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
  <active>true</active>
  <code>sample string 1</code>
  <id>12fa3a4d-4ebc-43d8-858b-98c469f009f9</id>
  <technicalDescription>sample string 3</technicalDescription>
  <descriptions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </descriptions>
</stickerType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

globally unique identifier

Response Formats

application/json, text/json

Sample:
"f00bf110-4bd2-41d7-9929-617cb7594469"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">f00bf110-4bd2-41d7-9929-617cb7594469</guid>