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": "0f8b364d-d6d2-4db9-986b-5828bffe8406",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "5cff1b69-3ae6-4268-9750-8271639deada",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "e9ada704-9d1e-4894-9b14-e76e68f250ef",
"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": "9c275a5f-8914-4023-a4bb-1ae49da4e14c",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "719f49e2-ed9a-4a91-98a2-23e56d09eca3",
"contractItem_ID": "9a80e878-c533-44f9-9b8d-d5b445e89039",
"departement_ID": "52b413e5-910d-44a6-b1de-5e8e3773da27",
"departmentItem_ID": "9503e117-dbe0-4afc-8729-c8617ebc08d9",
"iD": "9c815600-a0a4-495b-858a-a8a6bca5bcef",
"site_ID": "773a49a4-1797-4d77-b85a-9390185d1b8c",
"siteCustomer_ID": "8f162d34-2095-41d9-bd0c-cfb38f7664af",
"sticker_ID": "05fc0353-8cf5-4631-a996-eeea176c66da",
"garment_ID": "71b6c6ba-c80f-4522-86f7-14f93067d5c1"
},
{
"active": true,
"contract_ID": "719f49e2-ed9a-4a91-98a2-23e56d09eca3",
"contractItem_ID": "9a80e878-c533-44f9-9b8d-d5b445e89039",
"departement_ID": "52b413e5-910d-44a6-b1de-5e8e3773da27",
"departmentItem_ID": "9503e117-dbe0-4afc-8729-c8617ebc08d9",
"iD": "9c815600-a0a4-495b-858a-a8a6bca5bcef",
"site_ID": "773a49a4-1797-4d77-b85a-9390185d1b8c",
"siteCustomer_ID": "8f162d34-2095-41d9-bd0c-cfb38f7664af",
"sticker_ID": "05fc0353-8cf5-4631-a996-eeea176c66da",
"garment_ID": "71b6c6ba-c80f-4522-86f7-14f93067d5c1"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "946a2b22-0f6c-42f2-9c58-28b1f84e322e",
"stickerType_ID": "4b5aa03d-5f84-4c13-ad25-a0bd595ad0a5",
"stickerRelation_IDs": [
"2f98516b-73fd-4271-8355-09d9865fd9d6",
"5b6dd0c3-6ecd-4ba4-baeb-b30cff37b8dd"
],
"site_ID": "cdbf1ad6-019a-4e29-907a-9e49bbac8f1a"
},
"sticker_ID": "657d73d2-d8be-419b-a4b2-85e12070211e",
"stickerField_ID": "ea7da256-c523-4fdb-9561-71c9ea1b28d3",
"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": "0f8b364d-d6d2-4db9-986b-5828bffe8406",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "5cff1b69-3ae6-4268-9750-8271639deada",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "e9ada704-9d1e-4894-9b14-e76e68f250ef",
"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": "9c275a5f-8914-4023-a4bb-1ae49da4e14c",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "719f49e2-ed9a-4a91-98a2-23e56d09eca3",
"contractItem_ID": "9a80e878-c533-44f9-9b8d-d5b445e89039",
"departement_ID": "52b413e5-910d-44a6-b1de-5e8e3773da27",
"departmentItem_ID": "9503e117-dbe0-4afc-8729-c8617ebc08d9",
"iD": "9c815600-a0a4-495b-858a-a8a6bca5bcef",
"site_ID": "773a49a4-1797-4d77-b85a-9390185d1b8c",
"siteCustomer_ID": "8f162d34-2095-41d9-bd0c-cfb38f7664af",
"sticker_ID": "05fc0353-8cf5-4631-a996-eeea176c66da",
"garment_ID": "71b6c6ba-c80f-4522-86f7-14f93067d5c1"
},
{
"active": true,
"contract_ID": "719f49e2-ed9a-4a91-98a2-23e56d09eca3",
"contractItem_ID": "9a80e878-c533-44f9-9b8d-d5b445e89039",
"departement_ID": "52b413e5-910d-44a6-b1de-5e8e3773da27",
"departmentItem_ID": "9503e117-dbe0-4afc-8729-c8617ebc08d9",
"iD": "9c815600-a0a4-495b-858a-a8a6bca5bcef",
"site_ID": "773a49a4-1797-4d77-b85a-9390185d1b8c",
"siteCustomer_ID": "8f162d34-2095-41d9-bd0c-cfb38f7664af",
"sticker_ID": "05fc0353-8cf5-4631-a996-eeea176c66da",
"garment_ID": "71b6c6ba-c80f-4522-86f7-14f93067d5c1"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "946a2b22-0f6c-42f2-9c58-28b1f84e322e",
"stickerType_ID": "4b5aa03d-5f84-4c13-ad25-a0bd595ad0a5",
"stickerRelation_IDs": [
"2f98516b-73fd-4271-8355-09d9865fd9d6",
"5b6dd0c3-6ecd-4ba4-baeb-b30cff37b8dd"
],
"site_ID": "cdbf1ad6-019a-4e29-907a-9e49bbac8f1a"
},
"sticker_ID": "657d73d2-d8be-419b-a4b2-85e12070211e",
"stickerField_ID": "ea7da256-c523-4fdb-9561-71c9ea1b28d3",
"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.