PUT api/pinches/{pinchId}/content
Update a Pinch's content
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pinchId | globally unique identifier |
Required |
Body Parameters
PinchContentDtoName | Description | Type | Additional information |
---|---|---|---|
Template | TemplateDto |
None. |
Request Formats
application/json, text/json
Sample:
{ "Template": { "Drafts": [ { "Id": "4973abdb-1e13-4e8e-ba20-2a30cacecc2f", "CreatedDate": "2025-03-27T05:14:47.1356122+00:00", "CreatedBy": "10e3a76a-bbb5-4ea5-9439-e8c017385b23", "CreatedByUser": { "Id": "6c8b5df2-8513-409a-9636-bb30ebfbcb79", "Name": "sample string 2", "Email": "sample string 3", "IsActive": true, "Customer": { "Id": "cbd0764c-6f3d-43c5-9afd-c9ac1dfb6a82", "Name": "sample string 2" }, "Roles": [ { "Role": "Viewer", "CustomerGroup": { "Id": "cbd0764c-6f3d-43c5-9afd-c9ac1dfb6a82", "Name": "sample string 2" }, "IsActive": true }, { "Role": "Viewer", "CustomerGroup": { "Id": "cbd0764c-6f3d-43c5-9afd-c9ac1dfb6a82", "Name": "sample string 2" }, "IsActive": true } ] }, "TemplateInfoId": "f07467ef-50c0-4268-bc1e-777f9bdffe28" }, { "Id": "4973abdb-1e13-4e8e-ba20-2a30cacecc2f", "CreatedDate": "2025-03-27T05:14:47.1356122+00:00", "CreatedBy": "10e3a76a-bbb5-4ea5-9439-e8c017385b23", "CreatedByUser": { "Id": "6c8b5df2-8513-409a-9636-bb30ebfbcb79", "Name": "sample string 2", "Email": "sample string 3", "IsActive": true, "Customer": { "Id": "cbd0764c-6f3d-43c5-9afd-c9ac1dfb6a82", "Name": "sample string 2" }, "Roles": [ { "Role": "Viewer", "CustomerGroup": { "Id": "cbd0764c-6f3d-43c5-9afd-c9ac1dfb6a82", "Name": "sample string 2" }, "IsActive": true }, { "Role": "Viewer", "CustomerGroup": { "Id": "cbd0764c-6f3d-43c5-9afd-c9ac1dfb6a82", "Name": "sample string 2" }, "IsActive": true } ] }, "TemplateInfoId": "f07467ef-50c0-4268-bc1e-777f9bdffe28" } ], "ViewType": "None", "IsEmpty": true, "TemplateId": "5c01d47c-4a45-41bf-943a-b16b52453790", "RegionValues": null } }
Response Information
Resource Description
TemplateDtoName | Description | Type | Additional information |
---|---|---|---|
Drafts | Collection of TemplateDraftDto |
None. |
|
ViewType | PinchViewTypeEnum |
None. |
|
IsEmpty | boolean |
None. |
|
TemplateId | globally unique identifier |
None. |
|
RegionValues | Dictionary of Object [key] and Object [value] |
None. |
Response Formats
application/json, text/json
Sample:
{ "Drafts": [ { "Id": "d9cbc525-4790-4527-958c-9462ebebd480", "CreatedDate": "2025-03-27T05:14:47.1981125+00:00", "CreatedBy": "41d80414-67a8-4b43-8539-06863bf3cc7d", "CreatedByUser": { "Id": "f5179609-df7d-48b6-ad01-41625735d499", "Name": "sample string 2", "Email": "sample string 3", "IsActive": true, "Customer": { "Id": "b89616e3-4eec-4781-a725-9028c478a4fb", "Name": "sample string 2" }, "Roles": [ { "Role": "Viewer", "CustomerGroup": { "Id": "b89616e3-4eec-4781-a725-9028c478a4fb", "Name": "sample string 2" }, "IsActive": true }, { "Role": "Viewer", "CustomerGroup": { "Id": "b89616e3-4eec-4781-a725-9028c478a4fb", "Name": "sample string 2" }, "IsActive": true } ] }, "TemplateInfoId": "0a142cb2-dcb8-4503-ab50-f6ca92142331" }, { "Id": "d9cbc525-4790-4527-958c-9462ebebd480", "CreatedDate": "2025-03-27T05:14:47.1981125+00:00", "CreatedBy": "41d80414-67a8-4b43-8539-06863bf3cc7d", "CreatedByUser": { "Id": "f5179609-df7d-48b6-ad01-41625735d499", "Name": "sample string 2", "Email": "sample string 3", "IsActive": true, "Customer": { "Id": "b89616e3-4eec-4781-a725-9028c478a4fb", "Name": "sample string 2" }, "Roles": [ { "Role": "Viewer", "CustomerGroup": { "Id": "b89616e3-4eec-4781-a725-9028c478a4fb", "Name": "sample string 2" }, "IsActive": true }, { "Role": "Viewer", "CustomerGroup": { "Id": "b89616e3-4eec-4781-a725-9028c478a4fb", "Name": "sample string 2" }, "IsActive": true } ] }, "TemplateInfoId": "0a142cb2-dcb8-4503-ab50-f6ca92142331" } ], "ViewType": "None", "IsEmpty": true, "TemplateId": "75b39d83-d181-480f-ae16-af1a71a83526", "RegionValues": null }