POST api/SmsTemplate/Save

Request Information

URI Parameters

None.

Body Parameters

SmsTemplateVm
NameDescriptionTypeAdditional information
Item

SYS_SmsTemplate_GETResult

None.

AuthToken

string

None.

repo

DataRepository

None.

Id

integer

None.

ConnectionString

string

None.

ModelErrors

Collection of ModelErrorItem

None.

IsInError

boolean

None.

RecordCount

integer

None.

AllCriteria

AllCriteria

None.

Request Formats

application/json, text/json

Sample:
{
  "Item": {
    "SmsTemplateId": 1,
    "Name": "sample string 2",
    "Body": "sample string 3",
    "CreatedDate": "2024-11-26T17:31:06.6843356+02:00",
    "CreatedBy": 1,
    "ModifiedDate": "2024-11-26T17:31:06.6843356+02:00",
    "ModifiedBy": 1,
    "IsActive": true,
    "AuthToken": "sample string 4",
    "CreatedByName": "sample string 5",
    "ModifiedByName": "sample string 6"
  },
  "AuthToken": "sample string 1",
  "repo": {
    "SessionContext": {
      "ConnectionString": "sample string 1",
      "UserId": 2,
      "SessionId": "sample string 3",
      "AuthToken": "sample string 4"
    },
    "EventRepo": {
      "ProgramId": null,
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "ChartRepo": {
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "LogsRepo": {
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "UserRepo": {
      "AdminLookup": null,
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "MenuRepo": {
      "Items": null,
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "MembershipRepo": {
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "AdminRepo": {
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "SystemRepo": {
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "AccountRepo": {
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "LoginRepo": {
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "InvoiceRepo": {
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "PaymentRepo": {
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "ProviderRepo": {
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "LookupRepo": {
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    }
  },
  "Id": 1,
  "ConnectionString": "sample string 2",
  "ModelErrors": [
    {
      "Key": "sample string 1",
      "Error": "sample string 2"
    },
    {
      "Key": "sample string 1",
      "Error": "sample string 2"
    }
  ],
  "IsInError": true,
  "RecordCount": 1,
  "AllCriteria": {
    "AuthToken": "sample string 1",
    "Search": "sample string 2",
    "Page": 1,
    "PageSize": 1,
    "SortField": "sample string 3",
    "SortAscending": true,
    "IsActive": true,
    "EventId": 4,
    "DataStatusId": 1,
    "MembershipTypeId": 1,
    "TownId": 1,
    "ProvinceId": 1,
    "SpecialityId": 1,
    "CountryId": 1,
    "AreaOfPracticeId": 1,
    "ProfessionId": 1,
    "MemberListId": 1,
    "Members": "sample string 5",
    "MembersIds": "sample string 6",
    "PersonIds": "sample string 7",
    "MeetingId": 1,
    "IncludeFinancials": true,
    "PaymentSponsorId": 1,
    "IsSearchNetwork": true,
    "IsFdp": true,
    "FinancialQuery": "sample string 8",
    "MembershipExpiryQuery": "sample string 9",
    "PredefinedQuery": "sample string 10",
    "MemberReferenceId": 1,
    "MembershipTypeIds": "sample string 11",
    "ProfessionIds": "sample string 12",
    "AreaOfPracticeIds": "sample string 13",
    "TownIds": "sample string 14",
    "ProvinceIds": "sample string 15",
    "ServiceId": 1,
    "InvoiceStartDate": "2024-11-26T17:31:06.6999783+02:00",
    "InvoiceEndDate": "2024-11-26T17:31:06.6999783+02:00",
    "GenderId": 1,
    "MembershipNumber": 1,
    "MembershipInvoiceId": 1,
    "TimeDimType": "sample string 16",
    "TopX": 1,
    "GroupName": "sample string 17",
    "GroupCode": "sample string 18",
    "GroupDescription": "sample string 19",
    "Name": "sample string 20",
    "Code": "sample string 21",
    "CreatedDate": "2024-11-26T17:31:06.6999783+02:00"
  }
}

application/xml, text/xml

Sample:
<SmsTemplateVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sahiv.Event.Webapp.ViewModels.Notifications">
  <AllCriteria xmlns:d2p1="http://schemas.datacontract.org/2004/07/Sahiv.Midtier2.Criteria" xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">
    <d2p1:AreaOfPracticeId>1</d2p1:AreaOfPracticeId>
    <d2p1:AreaOfPracticeIds>sample string 13</d2p1:AreaOfPracticeIds>
    <d2p1:AuthToken>sample string 1</d2p1:AuthToken>
    <d2p1:Code>sample string 21</d2p1:Code>
    <d2p1:CountryId>1</d2p1:CountryId>
    <d2p1:CreatedDate>2024-11-26T17:31:06.6999783+02:00</d2p1:CreatedDate>
    <d2p1:DataStatusId>1</d2p1:DataStatusId>
    <d2p1:EventId>4</d2p1:EventId>
    <d2p1:FinancialQuery>sample string 8</d2p1:FinancialQuery>
    <d2p1:GenderId>1</d2p1:GenderId>
    <d2p1:GroupCode>sample string 18</d2p1:GroupCode>
    <d2p1:GroupDescription>sample string 19</d2p1:GroupDescription>
    <d2p1:GroupName>sample string 17</d2p1:GroupName>
    <d2p1:IncludeFinancials>true</d2p1:IncludeFinancials>
    <d2p1:InvoiceEndDate>2024-11-26T17:31:06.6999783+02:00</d2p1:InvoiceEndDate>
    <d2p1:InvoiceStartDate>2024-11-26T17:31:06.6999783+02:00</d2p1:InvoiceStartDate>
    <d2p1:IsActive>true</d2p1:IsActive>
    <d2p1:IsFdp>true</d2p1:IsFdp>
    <d2p1:IsSearchNetwork>true</d2p1:IsSearchNetwork>
    <d2p1:MeetingId>1</d2p1:MeetingId>
    <d2p1:MemberListId>1</d2p1:MemberListId>
    <d2p1:MemberReferenceId>1</d2p1:MemberReferenceId>
    <d2p1:Members>sample string 5</d2p1:Members>
    <d2p1:MembersIds>sample string 6</d2p1:MembersIds>
    <d2p1:MembershipExpiryQuery>sample string 9</d2p1:MembershipExpiryQuery>
    <d2p1:MembershipInvoiceId>1</d2p1:MembershipInvoiceId>
    <d2p1:MembershipNumber>1</d2p1:MembershipNumber>
    <d2p1:MembershipTypeId>1</d2p1:MembershipTypeId>
    <d2p1:MembershipTypeIds>sample string 11</d2p1:MembershipTypeIds>
    <d2p1:Name>sample string 20</d2p1:Name>
    <d2p1:Page>1</d2p1:Page>
    <d2p1:PageSize>1</d2p1:PageSize>
    <d2p1:PaymentSponsorId>1</d2p1:PaymentSponsorId>
    <d2p1:PersonIds>sample string 7</d2p1:PersonIds>
    <d2p1:PredefinedQuery>sample string 10</d2p1:PredefinedQuery>
    <d2p1:ProfessionId>1</d2p1:ProfessionId>
    <d2p1:ProfessionIds>sample string 12</d2p1:ProfessionIds>
    <d2p1:ProvinceId>1</d2p1:ProvinceId>
    <d2p1:ProvinceIds>sample string 15</d2p1:ProvinceIds>
    <d2p1:Search>sample string 2</d2p1:Search>
    <d2p1:ServiceId>1</d2p1:ServiceId>
    <d2p1:SortAscending>true</d2p1:SortAscending>
    <d2p1:SortField>sample string 3</d2p1:SortField>
    <d2p1:SpecialityId>1</d2p1:SpecialityId>
    <d2p1:TimeDimType>sample string 16</d2p1:TimeDimType>
    <d2p1:TopX>1</d2p1:TopX>
    <d2p1:TownId>1</d2p1:TownId>
    <d2p1:TownIds>sample string 14</d2p1:TownIds>
  </AllCriteria>
  <AuthToken xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">sample string 1</AuthToken>
  <ConnectionString xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">sample string 2</ConnectionString>
  <Id xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">1</Id>
  <ModelErrors xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">
    <ModelErrorItem>
      <Error>sample string 2</Error>
      <Key>sample string 1</Key>
    </ModelErrorItem>
    <ModelErrorItem>
      <Error>sample string 2</Error>
      <Key>sample string 1</Key>
    </ModelErrorItem>
  </ModelErrors>
  <RecordCount xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">1</RecordCount>
  <repo xmlns:d2p1="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Datebase" xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction" />
  <Item xmlns:d2p1="http://schemas.datacontract.org/2004/07/Rysis.Sahiv.Midtier2.Repo">
    <d2p1:AuthToken>sample string 4</d2p1:AuthToken>
    <d2p1:Body>sample string 3</d2p1:Body>
    <d2p1:CreatedBy>1</d2p1:CreatedBy>
    <d2p1:CreatedByName>sample string 5</d2p1:CreatedByName>
    <d2p1:CreatedDate>2024-11-26T17:31:06.6843356+02:00</d2p1:CreatedDate>
    <d2p1:IsActive>true</d2p1:IsActive>
    <d2p1:ModifiedBy>1</d2p1:ModifiedBy>
    <d2p1:ModifiedByName>sample string 6</d2p1:ModifiedByName>
    <d2p1:ModifiedDate>2024-11-26T17:31:06.6843356+02:00</d2p1:ModifiedDate>
    <d2p1:Name>sample string 2</d2p1:Name>
    <d2p1:SmsTemplateId>1</d2p1:SmsTemplateId>
  </Item>
</SmsTemplateVm>

multipart/form-data

Sample:
<SmsTemplateVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sahiv.Event.Webapp.ViewModels.Notifications"><AllCriteria xmlns:d2p1="http://schemas.datacontract.org/2004/07/Sahiv.Midtier2.Criteria" xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction"><d2p1:AreaOfPracticeId>1</d2p1:AreaOfPracticeId><d2p1:AreaOfPracticeIds>sample string 13</d2p1:AreaOfPracticeIds><d2p1:AuthToken>sample string 1</d2p1:AuthToken><d2p1:Code>sample string 21</d2p1:Code><d2p1:CountryId>1</d2p1:CountryId><d2p1:CreatedDate>2024-11-26T17:31:06.6999783+02:00</d2p1:CreatedDate><d2p1:DataStatusId>1</d2p1:DataStatusId><d2p1:EventId>4</d2p1:EventId><d2p1:FinancialQuery>sample string 8</d2p1:FinancialQuery><d2p1:GenderId>1</d2p1:GenderId><d2p1:GroupCode>sample string 18</d2p1:GroupCode><d2p1:GroupDescription>sample string 19</d2p1:GroupDescription><d2p1:GroupName>sample string 17</d2p1:GroupName><d2p1:IncludeFinancials>true</d2p1:IncludeFinancials><d2p1:InvoiceEndDate>2024-11-26T17:31:06.6999783+02:00</d2p1:InvoiceEndDate><d2p1:InvoiceStartDate>2024-11-26T17:31:06.6999783+02:00</d2p1:InvoiceStartDate><d2p1:IsActive>true</d2p1:IsActive><d2p1:IsFdp>true</d2p1:IsFdp><d2p1:IsSearchNetwork>true</d2p1:IsSearchNetwork><d2p1:MeetingId>1</d2p1:MeetingId><d2p1:MemberListId>1</d2p1:MemberListId><d2p1:MemberReferenceId>1</d2p1:MemberReferenceId><d2p1:Members>sample string 5</d2p1:Members><d2p1:MembersIds>sample string 6</d2p1:MembersIds><d2p1:MembershipExpiryQuery>sample string 9</d2p1:MembershipExpiryQuery><d2p1:MembershipInvoiceId>1</d2p1:MembershipInvoiceId><d2p1:MembershipNumber>1</d2p1:MembershipNumber><d2p1:MembershipTypeId>1</d2p1:MembershipTypeId><d2p1:MembershipTypeIds>sample string 11</d2p1:MembershipTypeIds><d2p1:Name>sample string 20</d2p1:Name><d2p1:Page>1</d2p1:Page><d2p1:PageSize>1</d2p1:PageSize><d2p1:PaymentSponsorId>1</d2p1:PaymentSponsorId><d2p1:PersonIds>sample string 7</d2p1:PersonIds><d2p1:PredefinedQuery>sample string 10</d2p1:PredefinedQuery><d2p1:ProfessionId>1</d2p1:ProfessionId><d2p1:ProfessionIds>sample string 12</d2p1:ProfessionIds><d2p1:ProvinceId>1</d2p1:ProvinceId><d2p1:ProvinceIds>sample string 15</d2p1:ProvinceIds><d2p1:Search>sample string 2</d2p1:Search><d2p1:ServiceId>1</d2p1:ServiceId><d2p1:SortAscending>true</d2p1:SortAscending><d2p1:SortField>sample string 3</d2p1:SortField><d2p1:SpecialityId>1</d2p1:SpecialityId><d2p1:TimeDimType>sample string 16</d2p1:TimeDimType><d2p1:TopX>1</d2p1:TopX><d2p1:TownId>1</d2p1:TownId><d2p1:TownIds>sample string 14</d2p1:TownIds></AllCriteria><AuthToken xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">sample string 1</AuthToken><ConnectionString xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">sample string 2</ConnectionString><Id xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">1</Id><ModelErrors xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction"><ModelErrorItem><Error>sample string 2</Error><Key>sample string 1</Key></ModelErrorItem><ModelErrorItem><Error>sample string 2</Error><Key>sample string 1</Key></ModelErrorItem></ModelErrors><RecordCount xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">1</RecordCount><repo xmlns:d2p1="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Datebase" xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction" /><Item xmlns:d2p1="http://schemas.datacontract.org/2004/07/Rysis.Sahiv.Midtier2.Repo"><d2p1:AuthToken>sample string 4</d2p1:AuthToken><d2p1:Body>sample string 3</d2p1:Body><d2p1:CreatedBy>1</d2p1:CreatedBy><d2p1:CreatedByName>sample string 5</d2p1:CreatedByName><d2p1:CreatedDate>2024-11-26T17:31:06.6843356+02:00</d2p1:CreatedDate><d2p1:IsActive>true</d2p1:IsActive><d2p1:ModifiedBy>1</d2p1:ModifiedBy><d2p1:ModifiedByName>sample string 6</d2p1:ModifiedByName><d2p1:ModifiedDate>2024-11-26T17:31:06.6843356+02:00</d2p1:ModifiedDate><d2p1:Name>sample string 2</d2p1:Name><d2p1:SmsTemplateId>1</d2p1:SmsTemplateId></Item></SmsTemplateVm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.