PUT Events/Template/{eventTemplateID}?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
eventTemplateID

integer

Required

validateOnly

boolean

Default value is False

Body Parameters

EventTemplateDTO
NameDescriptionTypeAdditional information
EventTemplateID

integer

None.

Name

string

None.

RecordState

RecordState

None.

Created

AuditDataDTO

None.

LastUpdated

AuditDataDTO

None.

BusinessUnits

Collection of integer

None.

BusinessUnitsLastUpdated

AuditDataDTO

None.

AccessType

EventTemplateAccessType

None.

Request Formats

application/json, text/json

Sample:
{
  "eventTemplateID": 1,
  "name": "sample string 2",
  "recordState": 1,
  "created": {
    "dateUtc": "2024-12-04T08:17:50.7673825+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:17:50 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:17:50.7673825+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:17:50 AM"
  },
  "businessUnits": [
    1,
    2
  ],
  "businessUnitsLastUpdated": {
    "dateUtc": "2024-12-04T08:17:50.7673825+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:17:50 AM"
  },
  "accessType": 1
}

application/xml, text/xml

Sample:
<EventTemplateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models">
  <AccessType>Hidden</AccessType>
  <BusinessUnits xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </BusinessUnits>
  <BusinessUnitsLastUpdated>
    <DateUtc>2024-12-04T08:17:50.7673825+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </BusinessUnitsLastUpdated>
  <Created>
    <DateUtc>2024-12-04T08:17:50.7673825+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <EventTemplateID>1</EventTemplateID>
  <LastUpdated>
    <DateUtc>2024-12-04T08:17:50.7673825+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </LastUpdated>
  <Name>sample string 2</Name>
  <RecordState>Active</RecordState>
</EventTemplateDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
��Q�
�0���V�&�ڒMp��v��<��ƒ�
"~����/�Iqw;�ݻ;���v<�6m��g�DN7
HG_�=���Gs�v��%4#���`#(��o�˴/d��ϕ�Ԙ�I6��ǹ�<u�~�+������}cDŽ��g{{��.	ԚB�����rHT�*��H���]�WcmLlV��紗3�x�

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.