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": "af4fbdfd-6c1b-4b22-917f-48605cce5e98",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "41684f8f-91c4-4d10-afe4-c0b793b4401d",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "950f7d10-12c7-4ef0-9675-962e9c316e0b",
"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": "e44c26eb-2729-4391-8254-6b647ae453c2",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "7e5777ea-7fea-4193-a855-257fd9135143",
"contractItem_ID": "17461921-3db0-42d6-8acf-4e959751777e",
"departement_ID": "61e74f5a-d9f3-4506-82a7-bfee9cba4cb6",
"departmentItem_ID": "f8bf6658-9328-43c9-b212-c3367f766044",
"iD": "e95b5d21-6b82-4054-b623-cebd23611939",
"site_ID": "d4647e49-48c6-4a3d-a405-cf782f9a1846",
"siteCustomer_ID": "669fe6ff-95f5-4afd-b338-26026b30291a",
"sticker_ID": "9d4bcf72-75a0-4a2a-a5a5-dc6b68882818",
"garment_ID": "492d129f-3c77-4ed8-84a9-6edf5ebc0fc8"
},
{
"active": true,
"contract_ID": "7e5777ea-7fea-4193-a855-257fd9135143",
"contractItem_ID": "17461921-3db0-42d6-8acf-4e959751777e",
"departement_ID": "61e74f5a-d9f3-4506-82a7-bfee9cba4cb6",
"departmentItem_ID": "f8bf6658-9328-43c9-b212-c3367f766044",
"iD": "e95b5d21-6b82-4054-b623-cebd23611939",
"site_ID": "d4647e49-48c6-4a3d-a405-cf782f9a1846",
"siteCustomer_ID": "669fe6ff-95f5-4afd-b338-26026b30291a",
"sticker_ID": "9d4bcf72-75a0-4a2a-a5a5-dc6b68882818",
"garment_ID": "492d129f-3c77-4ed8-84a9-6edf5ebc0fc8"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "db624c50-efc0-44f0-a919-fe4772a92024",
"stickerType_ID": "d3666299-628d-4cf8-9e72-08f2cfcdd660",
"stickerRelation_IDs": [
"7e6bdd7b-0e8e-462b-9e81-a9a4f1edb1db",
"f2972908-b553-4f30-9ac2-a264490fb6f0"
],
"site_ID": "5ccf7e1f-619a-4b4e-af1a-ee35deb3a661"
},
"sticker_ID": "15042423-a6b9-4bc7-8e7b-5b62376fb542",
"stickerField_ID": "3482cc41-66b6-470d-8322-52b03d84ce1f",
"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": "af4fbdfd-6c1b-4b22-917f-48605cce5e98",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "41684f8f-91c4-4d10-afe4-c0b793b4401d",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "950f7d10-12c7-4ef0-9675-962e9c316e0b",
"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": "e44c26eb-2729-4391-8254-6b647ae453c2",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "7e5777ea-7fea-4193-a855-257fd9135143",
"contractItem_ID": "17461921-3db0-42d6-8acf-4e959751777e",
"departement_ID": "61e74f5a-d9f3-4506-82a7-bfee9cba4cb6",
"departmentItem_ID": "f8bf6658-9328-43c9-b212-c3367f766044",
"iD": "e95b5d21-6b82-4054-b623-cebd23611939",
"site_ID": "d4647e49-48c6-4a3d-a405-cf782f9a1846",
"siteCustomer_ID": "669fe6ff-95f5-4afd-b338-26026b30291a",
"sticker_ID": "9d4bcf72-75a0-4a2a-a5a5-dc6b68882818",
"garment_ID": "492d129f-3c77-4ed8-84a9-6edf5ebc0fc8"
},
{
"active": true,
"contract_ID": "7e5777ea-7fea-4193-a855-257fd9135143",
"contractItem_ID": "17461921-3db0-42d6-8acf-4e959751777e",
"departement_ID": "61e74f5a-d9f3-4506-82a7-bfee9cba4cb6",
"departmentItem_ID": "f8bf6658-9328-43c9-b212-c3367f766044",
"iD": "e95b5d21-6b82-4054-b623-cebd23611939",
"site_ID": "d4647e49-48c6-4a3d-a405-cf782f9a1846",
"siteCustomer_ID": "669fe6ff-95f5-4afd-b338-26026b30291a",
"sticker_ID": "9d4bcf72-75a0-4a2a-a5a5-dc6b68882818",
"garment_ID": "492d129f-3c77-4ed8-84a9-6edf5ebc0fc8"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "db624c50-efc0-44f0-a919-fe4772a92024",
"stickerType_ID": "d3666299-628d-4cf8-9e72-08f2cfcdd660",
"stickerRelation_IDs": [
"7e6bdd7b-0e8e-462b-9e81-a9a4f1edb1db",
"f2972908-b553-4f30-9ac2-a264490fb6f0"
],
"site_ID": "5ccf7e1f-619a-4b4e-af1a-ee35deb3a661"
},
"sticker_ID": "15042423-a6b9-4bc7-8e7b-5b62376fb542",
"stickerField_ID": "3482cc41-66b6-470d-8322-52b03d84ce1f",
"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.