POST Events/Template?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
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:10:02.9466303+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:10:02 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:10:02.9466303+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:10:02 AM"
  },
  "businessUnits": [
    1,
    2
  ],
  "businessUnitsLastUpdated": {
    "dateUtc": "2024-12-04T08:10:02.9466303+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:10:02 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:10:02.9466303+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </BusinessUnitsLastUpdated>
  <Created>
    <DateUtc>2024-12-04T08:10:02.9466303+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <EventTemplateID>1</EventTemplateID>
  <LastUpdated>
    <DateUtc>2024-12-04T08:10:02.9466303+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:
��QA
�0�Jث�&i�M�"�ۓx��"K6J��<�$�`*���fggg�q�w�W�>ê>k��%(���ҁEFޕ��$D��\\��A���:(Ƚ	g��42�i�gJp��x�N�	OF<L<5�n�+���Ү�ޱ�eBN�����l��>��&��ſ�96TZ$�m�	�^D�������6&4��zxm��Y�

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.