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": "2e6dff25-cb69-4bd1-8562-cba9037c5c17",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "82284d7e-60db-4abb-bc42-1257f1f7049e",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "2c41048e-9aa2-4230-97c0-779eed03b13e",
"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": "b71bbd0c-7c1f-4c18-b086-e3a12ea56b6a",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "8a35e5da-37df-4ed5-ac74-d4a0bfcd4716",
"contractItem_ID": "8955b95b-0c8c-4b2e-9bfb-c9e089351309",
"departement_ID": "15df5060-568c-4777-bd34-7d1ec3b2cd4b",
"departmentItem_ID": "3f24226c-c3f1-45c1-aba4-f0f21426fede",
"iD": "8a1eeebb-c559-4639-aedb-94a9b237083b",
"site_ID": "0b20000b-8da6-4d61-b426-4cbb32d45e1e",
"siteCustomer_ID": "0893d175-74f2-4dbd-a24d-fd77d7df5a5e",
"sticker_ID": "aac25dd4-38cd-4cfc-9879-f19ceefb48e8",
"garment_ID": "cc05b235-f74f-4f83-853b-2332b70acca1"
},
{
"active": true,
"contract_ID": "8a35e5da-37df-4ed5-ac74-d4a0bfcd4716",
"contractItem_ID": "8955b95b-0c8c-4b2e-9bfb-c9e089351309",
"departement_ID": "15df5060-568c-4777-bd34-7d1ec3b2cd4b",
"departmentItem_ID": "3f24226c-c3f1-45c1-aba4-f0f21426fede",
"iD": "8a1eeebb-c559-4639-aedb-94a9b237083b",
"site_ID": "0b20000b-8da6-4d61-b426-4cbb32d45e1e",
"siteCustomer_ID": "0893d175-74f2-4dbd-a24d-fd77d7df5a5e",
"sticker_ID": "aac25dd4-38cd-4cfc-9879-f19ceefb48e8",
"garment_ID": "cc05b235-f74f-4f83-853b-2332b70acca1"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "68e0c1d2-ecae-43b0-9e65-04bb67da5873",
"stickerType_ID": "f2ec4179-6839-4bdf-a202-c0146d763fe1",
"stickerRelation_IDs": [
"7850e272-1e4c-48cc-bf88-3e9c19b627c8",
"faaafe9b-d44e-4bae-9e77-7d904d851fca"
],
"site_ID": "6b061de0-0197-4cdf-8964-0a8f72aef81f"
},
"sticker_ID": "ddb5ca77-bb81-470b-9527-2a130e63baca",
"stickerField_ID": "dabb445f-7c90-431c-aaea-9574b317d03f",
"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": "2e6dff25-cb69-4bd1-8562-cba9037c5c17",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "82284d7e-60db-4abb-bc42-1257f1f7049e",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "2c41048e-9aa2-4230-97c0-779eed03b13e",
"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": "b71bbd0c-7c1f-4c18-b086-e3a12ea56b6a",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "8a35e5da-37df-4ed5-ac74-d4a0bfcd4716",
"contractItem_ID": "8955b95b-0c8c-4b2e-9bfb-c9e089351309",
"departement_ID": "15df5060-568c-4777-bd34-7d1ec3b2cd4b",
"departmentItem_ID": "3f24226c-c3f1-45c1-aba4-f0f21426fede",
"iD": "8a1eeebb-c559-4639-aedb-94a9b237083b",
"site_ID": "0b20000b-8da6-4d61-b426-4cbb32d45e1e",
"siteCustomer_ID": "0893d175-74f2-4dbd-a24d-fd77d7df5a5e",
"sticker_ID": "aac25dd4-38cd-4cfc-9879-f19ceefb48e8",
"garment_ID": "cc05b235-f74f-4f83-853b-2332b70acca1"
},
{
"active": true,
"contract_ID": "8a35e5da-37df-4ed5-ac74-d4a0bfcd4716",
"contractItem_ID": "8955b95b-0c8c-4b2e-9bfb-c9e089351309",
"departement_ID": "15df5060-568c-4777-bd34-7d1ec3b2cd4b",
"departmentItem_ID": "3f24226c-c3f1-45c1-aba4-f0f21426fede",
"iD": "8a1eeebb-c559-4639-aedb-94a9b237083b",
"site_ID": "0b20000b-8da6-4d61-b426-4cbb32d45e1e",
"siteCustomer_ID": "0893d175-74f2-4dbd-a24d-fd77d7df5a5e",
"sticker_ID": "aac25dd4-38cd-4cfc-9879-f19ceefb48e8",
"garment_ID": "cc05b235-f74f-4f83-853b-2332b70acca1"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "68e0c1d2-ecae-43b0-9e65-04bb67da5873",
"stickerType_ID": "f2ec4179-6839-4bdf-a202-c0146d763fe1",
"stickerRelation_IDs": [
"7850e272-1e4c-48cc-bf88-3e9c19b627c8",
"faaafe9b-d44e-4bae-9e77-7d904d851fca"
],
"site_ID": "6b061de0-0197-4cdf-8964-0a8f72aef81f"
},
"sticker_ID": "ddb5ca77-bb81-470b-9527-2a130e63baca",
"stickerField_ID": "dabb445f-7c90-431c-aaea-9574b317d03f",
"stringLength": 1,
"stringStart": 1,
"zoneNumber": 11
}
]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.