POST api/StickerDetail/upsert?stickerID={stickerID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| stickerID | globally unique identifier |
Required |
Body Parameters
Collection of StickerDetailViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| stickerField | StickerFieldViewModel |
None. |
|
| active | boolean |
Required |
|
| backgroundColor | string |
Required Max length: 6 |
|
| bold | boolean |
Required |
|
| fontSize | integer |
Required |
|
| foregroundColor | string |
Required Max length: 6 |
|
| ID | globally unique identifier |
None. |
|
| italic | boolean |
Required |
|
| staticValue | string |
Max length: 20 |
|
| sticker | StickerViewModel |
None. |
|
| sticker_ID | globally unique identifier |
Required |
|
| stickerField_ID | globally unique identifier |
Required |
|
| stringLength | integer |
None. |
|
| stringStart | integer |
None. |
|
| zoneNumber | integer |
Required |
Request Formats
application/json, text/json
Sample:
[
{
"stickerField": {
"previewValue": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"active": true,
"code": "sample string 2",
"id": "46144e5e-6359-40b3-8a82-b80dc8266eec",
"isStatic": true,
"stickerType_ID": "4235d728-ff43-4bb4-bed5-a3cbbfc477fc",
"technicalDescription": "sample string 6"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "7e6f34d0-2642-456c-aa0c-dfe9d6cc461e",
"italic": true,
"staticValue": "sample string 8",
"sticker": {
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"type": {
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"code": "sample string 1",
"id": "14f5243b-5b6f-4fb3-bba4-e2fd73a1645f",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "f4814976-c26b-44c7-b939-f2daf2781739",
"contractItem_ID": "4aeb39a6-b227-4432-840b-e2688e61ef83",
"departement_ID": "b9b82487-9b8a-4a6e-97d8-16741a72b04a",
"departmentItem_ID": "f2fe9b5b-8f43-4a82-9364-365069dc928b",
"iD": "01fa77a6-b2a4-4cae-af8e-7a7dbe79ef92",
"site_ID": "7b202668-780e-4aaf-80de-9f4877c29cf6",
"siteCustomer_ID": "9e1b989d-8c90-441c-b45d-9774f9c429e7",
"sticker_ID": "d8d6507e-3c8b-47aa-81e6-e9a2aff449f5"
},
{
"active": true,
"contract_ID": "f4814976-c26b-44c7-b939-f2daf2781739",
"contractItem_ID": "4aeb39a6-b227-4432-840b-e2688e61ef83",
"departement_ID": "b9b82487-9b8a-4a6e-97d8-16741a72b04a",
"departmentItem_ID": "f2fe9b5b-8f43-4a82-9364-365069dc928b",
"iD": "01fa77a6-b2a4-4cae-af8e-7a7dbe79ef92",
"site_ID": "7b202668-780e-4aaf-80de-9f4877c29cf6",
"siteCustomer_ID": "9e1b989d-8c90-441c-b45d-9774f9c429e7",
"sticker_ID": "d8d6507e-3c8b-47aa-81e6-e9a2aff449f5"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "8cdef786-ae44-4497-a427-bda5ad9c5d26",
"stickerType_ID": "5051ee75-7f73-4073-8888-70f9a40ff3e4",
"stickerRelation_IDs": [
"cae48577-c92f-40d0-bb8e-dbdf2edd07f7",
"f343fd7b-1e26-4772-ad5f-f2629ec01770"
],
"site_ID": "f5b65d55-b57e-4bce-b795-23599cda297e"
},
"sticker_ID": "dc6daaf1-5b62-415e-a291-21cf9d5c99c8",
"stickerField_ID": "f5cacffa-3267-4f86-8237-a93f87da6522",
"stringLength": 1,
"stringStart": 1,
"zoneNumber": 11
},
{
"stickerField": {
"previewValue": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"active": true,
"code": "sample string 2",
"id": "46144e5e-6359-40b3-8a82-b80dc8266eec",
"isStatic": true,
"stickerType_ID": "4235d728-ff43-4bb4-bed5-a3cbbfc477fc",
"technicalDescription": "sample string 6"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "7e6f34d0-2642-456c-aa0c-dfe9d6cc461e",
"italic": true,
"staticValue": "sample string 8",
"sticker": {
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"type": {
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"code": "sample string 1",
"id": "14f5243b-5b6f-4fb3-bba4-e2fd73a1645f",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "f4814976-c26b-44c7-b939-f2daf2781739",
"contractItem_ID": "4aeb39a6-b227-4432-840b-e2688e61ef83",
"departement_ID": "b9b82487-9b8a-4a6e-97d8-16741a72b04a",
"departmentItem_ID": "f2fe9b5b-8f43-4a82-9364-365069dc928b",
"iD": "01fa77a6-b2a4-4cae-af8e-7a7dbe79ef92",
"site_ID": "7b202668-780e-4aaf-80de-9f4877c29cf6",
"siteCustomer_ID": "9e1b989d-8c90-441c-b45d-9774f9c429e7",
"sticker_ID": "d8d6507e-3c8b-47aa-81e6-e9a2aff449f5"
},
{
"active": true,
"contract_ID": "f4814976-c26b-44c7-b939-f2daf2781739",
"contractItem_ID": "4aeb39a6-b227-4432-840b-e2688e61ef83",
"departement_ID": "b9b82487-9b8a-4a6e-97d8-16741a72b04a",
"departmentItem_ID": "f2fe9b5b-8f43-4a82-9364-365069dc928b",
"iD": "01fa77a6-b2a4-4cae-af8e-7a7dbe79ef92",
"site_ID": "7b202668-780e-4aaf-80de-9f4877c29cf6",
"siteCustomer_ID": "9e1b989d-8c90-441c-b45d-9774f9c429e7",
"sticker_ID": "d8d6507e-3c8b-47aa-81e6-e9a2aff449f5"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "8cdef786-ae44-4497-a427-bda5ad9c5d26",
"stickerType_ID": "5051ee75-7f73-4073-8888-70f9a40ff3e4",
"stickerRelation_IDs": [
"cae48577-c92f-40d0-bb8e-dbdf2edd07f7",
"f343fd7b-1e26-4772-ad5f-f2629ec01770"
],
"site_ID": "f5b65d55-b57e-4bce-b795-23599cda297e"
},
"sticker_ID": "dc6daaf1-5b62-415e-a291-21cf9d5c99c8",
"stickerField_ID": "f5cacffa-3267-4f86-8237-a93f87da6522",
"stringLength": 1,
"stringStart": 1,
"zoneNumber": 11
}
]
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.