GET api/ResponseActionMappings/GetByTemplateId?TemplateId={TemplateId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
TemplateId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ResponseActionMappingDTOName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
InspectionTemplateId | integer |
None. |
|
ResponseOptionLimitId | integer |
None. |
|
ResponseOptionId | integer |
None. |
|
ResponseActionId | integer |
None. |
|
TEGId | integer |
None. |
|
MEGId | integer |
None. |
|
Description | string |
None. |
|
Status | integer |
None. |
|
Meg | MMGRuleModel |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "InspectionTemplateId": 2, "ResponseOptionLimitId": 3, "ResponseOptionId": 4, "ResponseActionId": 1, "TEGId": 5, "MEGId": 1, "Description": "sample string 6", "Status": 7, "Meg": { "Name": "sample string 1", "Description": "sample string 2", "To": "sample string 3", "Cc": "sample string 4", "Bcc": "sample string 5", "MinutesToSend": 6, "DaysToSend": 7, "RecurrenceValue": "sample string 8", "RecurrenceCount": 9, "Params": "sample string 10", "Priority": 1, "Consolidate": true, "RuleTypeId": 1, "RuleType": "sample string 11", "MessageTypeId": 12, "MessageType": "sample string 13", "RecurrenceTypeId": 14, "RecurrenceType": "sample string 15", "StatusName": "sample string 16", "AccountId": 17, "TemplateId": 18, "TemplateFormatId": 19, "GlobalTemplateId": 1, "Subject": "sample string 20", "Body": "sample string 21", "TemplateName": "sample string 22", "IsImmediate": 23, "Id": 24, "Status": 25, "CreatedBy": "sample string 26", "CreateTimestamp": "2024-11-21T08:53:48.7629645+00:00", "ModifiedBy": "sample string 28", "ModifiedTimestamp": "2024-11-21T08:53:48.7629645+00:00", "DataStateFlag": "sample string 29" } }, { "Id": 1, "InspectionTemplateId": 2, "ResponseOptionLimitId": 3, "ResponseOptionId": 4, "ResponseActionId": 1, "TEGId": 5, "MEGId": 1, "Description": "sample string 6", "Status": 7, "Meg": { "Name": "sample string 1", "Description": "sample string 2", "To": "sample string 3", "Cc": "sample string 4", "Bcc": "sample string 5", "MinutesToSend": 6, "DaysToSend": 7, "RecurrenceValue": "sample string 8", "RecurrenceCount": 9, "Params": "sample string 10", "Priority": 1, "Consolidate": true, "RuleTypeId": 1, "RuleType": "sample string 11", "MessageTypeId": 12, "MessageType": "sample string 13", "RecurrenceTypeId": 14, "RecurrenceType": "sample string 15", "StatusName": "sample string 16", "AccountId": 17, "TemplateId": 18, "TemplateFormatId": 19, "GlobalTemplateId": 1, "Subject": "sample string 20", "Body": "sample string 21", "TemplateName": "sample string 22", "IsImmediate": 23, "Id": 24, "Status": 25, "CreatedBy": "sample string 26", "CreateTimestamp": "2024-11-21T08:53:48.7629645+00:00", "ModifiedBy": "sample string 28", "ModifiedTimestamp": "2024-11-21T08:53:48.7629645+00:00", "DataStateFlag": "sample string 29" } } ]
application/xml, text/xml
Sample:
<ArrayOfResponseActionMappingDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.DTOs"> <ResponseActionMappingDTO> <Description>sample string 6</Description> <Id>1</Id> <InspectionTemplateId>2</InspectionTemplateId> <MEGId>1</MEGId> <Meg> <AccountId>17</AccountId> <Bcc>sample string 5</Bcc> <Body>sample string 21</Body> <Cc>sample string 4</Cc> <Consolidate>true</Consolidate> <CreateTimestamp xmlns:d4p1="http://schemas.datacontract.org/2004/07/System"> <d4p1:DateTime>2024-11-21T08:53:48.7629645Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </CreateTimestamp> <CreatedBy>sample string 26</CreatedBy> <DataStateFlag>sample string 29</DataStateFlag> <DaysToSend>7</DaysToSend> <Description>sample string 2</Description> <GlobalTemplateId>1</GlobalTemplateId> <Id>24</Id> <IsImmediate>23</IsImmediate> <MessageType>sample string 13</MessageType> <MessageTypeId>12</MessageTypeId> <MinutesToSend>6</MinutesToSend> <ModifiedBy>sample string 28</ModifiedBy> <ModifiedTimestamp xmlns:d4p1="http://schemas.datacontract.org/2004/07/System"> <d4p1:DateTime>2024-11-21T08:53:48.7629645Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </ModifiedTimestamp> <Name>sample string 1</Name> <Params>sample string 10</Params> <Priority>1</Priority> <RecurrenceCount>9</RecurrenceCount> <RecurrenceType>sample string 15</RecurrenceType> <RecurrenceTypeId>14</RecurrenceTypeId> <RecurrenceValue>sample string 8</RecurrenceValue> <RuleType>sample string 11</RuleType> <RuleTypeId>1</RuleTypeId> <Status>25</Status> <StatusName>sample string 16</StatusName> <Subject>sample string 20</Subject> <TemplateFormatId>19</TemplateFormatId> <TemplateId>18</TemplateId> <TemplateName>sample string 22</TemplateName> <To>sample string 3</To> </Meg> <ResponseActionId>1</ResponseActionId> <ResponseOptionId>4</ResponseOptionId> <ResponseOptionLimitId>3</ResponseOptionLimitId> <Status>7</Status> <TEGId>5</TEGId> </ResponseActionMappingDTO> <ResponseActionMappingDTO> <Description>sample string 6</Description> <Id>1</Id> <InspectionTemplateId>2</InspectionTemplateId> <MEGId>1</MEGId> <Meg> <AccountId>17</AccountId> <Bcc>sample string 5</Bcc> <Body>sample string 21</Body> <Cc>sample string 4</Cc> <Consolidate>true</Consolidate> <CreateTimestamp xmlns:d4p1="http://schemas.datacontract.org/2004/07/System"> <d4p1:DateTime>2024-11-21T08:53:48.7629645Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </CreateTimestamp> <CreatedBy>sample string 26</CreatedBy> <DataStateFlag>sample string 29</DataStateFlag> <DaysToSend>7</DaysToSend> <Description>sample string 2</Description> <GlobalTemplateId>1</GlobalTemplateId> <Id>24</Id> <IsImmediate>23</IsImmediate> <MessageType>sample string 13</MessageType> <MessageTypeId>12</MessageTypeId> <MinutesToSend>6</MinutesToSend> <ModifiedBy>sample string 28</ModifiedBy> <ModifiedTimestamp xmlns:d4p1="http://schemas.datacontract.org/2004/07/System"> <d4p1:DateTime>2024-11-21T08:53:48.7629645Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </ModifiedTimestamp> <Name>sample string 1</Name> <Params>sample string 10</Params> <Priority>1</Priority> <RecurrenceCount>9</RecurrenceCount> <RecurrenceType>sample string 15</RecurrenceType> <RecurrenceTypeId>14</RecurrenceTypeId> <RecurrenceValue>sample string 8</RecurrenceValue> <RuleType>sample string 11</RuleType> <RuleTypeId>1</RuleTypeId> <Status>25</Status> <StatusName>sample string 16</StatusName> <Subject>sample string 20</Subject> <TemplateFormatId>19</TemplateFormatId> <TemplateId>18</TemplateId> <TemplateName>sample string 22</TemplateName> <To>sample string 3</To> </Meg> <ResponseActionId>1</ResponseActionId> <ResponseOptionId>4</ResponseOptionId> <ResponseOptionLimitId>3</ResponseOptionLimitId> <Status>7</Status> <TEGId>5</TEGId> </ResponseActionMappingDTO> </ArrayOfResponseActionMappingDTO>