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": "295ca3a6-2e0a-4bac-9c66-9fbc27c58552",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "a3371a8f-339c-43d8-b89a-5c656bb9c0c5",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "5ebf4aac-4232-43e4-a969-3bc895d35be1",
"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": "34a6a34b-7cb1-40f1-ac6c-3f82014b90df",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "8b58c18a-aa7d-43db-ae06-92131dbe619b",
"contractItem_ID": "29816b60-9496-4f9e-b23b-aa13e86591cc",
"departement_ID": "5d58c4df-0ced-44fb-a891-48f268436f65",
"departmentItem_ID": "c799e983-a89e-4856-987e-e16ef6ad4c4b",
"iD": "4f2070ff-a265-448b-8d02-bac421e02e8c",
"site_ID": "80925dd0-95c6-4d30-92f8-c3ca6787bcdb",
"siteCustomer_ID": "d5af9a9b-a019-4b44-b445-f93311ef0f81",
"sticker_ID": "dedfd3f8-ff99-4a65-88b2-65ad0beb5e3c",
"garment_ID": "d1a85ae3-87bc-4477-87ff-a9710c40dd10"
},
{
"active": true,
"contract_ID": "8b58c18a-aa7d-43db-ae06-92131dbe619b",
"contractItem_ID": "29816b60-9496-4f9e-b23b-aa13e86591cc",
"departement_ID": "5d58c4df-0ced-44fb-a891-48f268436f65",
"departmentItem_ID": "c799e983-a89e-4856-987e-e16ef6ad4c4b",
"iD": "4f2070ff-a265-448b-8d02-bac421e02e8c",
"site_ID": "80925dd0-95c6-4d30-92f8-c3ca6787bcdb",
"siteCustomer_ID": "d5af9a9b-a019-4b44-b445-f93311ef0f81",
"sticker_ID": "dedfd3f8-ff99-4a65-88b2-65ad0beb5e3c",
"garment_ID": "d1a85ae3-87bc-4477-87ff-a9710c40dd10"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "bd8742f5-e35b-4d3f-ad42-bb6e9cc5c022",
"stickerType_ID": "99edbb0f-823f-423a-b2da-bf23b7bd8ea5",
"stickerRelation_IDs": [
"b4b873b8-b6d4-47ad-956c-0ab457a28db7",
"03e0f106-5de1-48e8-bd2d-99c4085dc093"
],
"site_ID": "05840966-3af3-4f0e-b0bd-7b4f5f94e032"
},
"sticker_ID": "f0a63547-9695-45fd-8d9d-9233f95911bd",
"stickerField_ID": "5f5f3ace-8f0d-440c-8441-708dd8e79957",
"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": "295ca3a6-2e0a-4bac-9c66-9fbc27c58552",
"isProductionSite": true,
"isStatic": true,
"separator": "sample string 6",
"stickerType_ID": "a3371a8f-339c-43d8-b89a-5c656bb9c0c5",
"technicalDescription": "sample string 8"
},
"active": true,
"backgroundColor": "sample string 2",
"bold": true,
"fontSize": 4,
"foregroundColor": "sample string 5",
"id": "5ebf4aac-4232-43e4-a969-3bc895d35be1",
"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": "34a6a34b-7cb1-40f1-ac6c-3f82014b90df",
"technicalDescription": "sample string 3",
"active": true
},
"relations": [
{
"active": true,
"contract_ID": "8b58c18a-aa7d-43db-ae06-92131dbe619b",
"contractItem_ID": "29816b60-9496-4f9e-b23b-aa13e86591cc",
"departement_ID": "5d58c4df-0ced-44fb-a891-48f268436f65",
"departmentItem_ID": "c799e983-a89e-4856-987e-e16ef6ad4c4b",
"iD": "4f2070ff-a265-448b-8d02-bac421e02e8c",
"site_ID": "80925dd0-95c6-4d30-92f8-c3ca6787bcdb",
"siteCustomer_ID": "d5af9a9b-a019-4b44-b445-f93311ef0f81",
"sticker_ID": "dedfd3f8-ff99-4a65-88b2-65ad0beb5e3c",
"garment_ID": "d1a85ae3-87bc-4477-87ff-a9710c40dd10"
},
{
"active": true,
"contract_ID": "8b58c18a-aa7d-43db-ae06-92131dbe619b",
"contractItem_ID": "29816b60-9496-4f9e-b23b-aa13e86591cc",
"departement_ID": "5d58c4df-0ced-44fb-a891-48f268436f65",
"departmentItem_ID": "c799e983-a89e-4856-987e-e16ef6ad4c4b",
"iD": "4f2070ff-a265-448b-8d02-bac421e02e8c",
"site_ID": "80925dd0-95c6-4d30-92f8-c3ca6787bcdb",
"siteCustomer_ID": "d5af9a9b-a019-4b44-b445-f93311ef0f81",
"sticker_ID": "dedfd3f8-ff99-4a65-88b2-65ad0beb5e3c",
"garment_ID": "d1a85ae3-87bc-4477-87ff-a9710c40dd10"
}
],
"details": [],
"active": true,
"code": "sample string 2",
"id": "bd8742f5-e35b-4d3f-ad42-bb6e9cc5c022",
"stickerType_ID": "99edbb0f-823f-423a-b2da-bf23b7bd8ea5",
"stickerRelation_IDs": [
"b4b873b8-b6d4-47ad-956c-0ab457a28db7",
"03e0f106-5de1-48e8-bd2d-99c4085dc093"
],
"site_ID": "05840966-3af3-4f0e-b0bd-7b4f5f94e032"
},
"sticker_ID": "f0a63547-9695-45fd-8d9d-9233f95911bd",
"stickerField_ID": "5f5f3ace-8f0d-440c-8441-708dd8e79957",
"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.