• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Edit
Show / Hide Table of Contents

POST Agents/CustomerService/SaveSystemTemplateSettings

Some tooltip text!
• 4 minutes to read
 • 4 minutes to read
POST /api/v1/Agents/CustomerService/SaveSystemTemplateSettings

Saves and validates updated system templates.

Throws exception if validation fails

Query String Parameters

Parameter Name Type Description
$select string Optional comma separated list of properties to include in the result. Other fields are then nulled out to reduce payload size: "Name,department,category". Default = show all fields.
POST /api/v1/Agents/CustomerService/SaveSystemTemplateSettings?$select=name,department,category/id

Request Headers

Parameter Name Description
Authorization Supports 'Basic', 'SoTicket' and 'Bearer' schemes, depending on installation type.
X-XSRF-TOKEN If not using Authorization header, you must provide XSRF value from cookie or hidden input field
Content-Type Content-type of the request body: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded, application/json-patch+json, application/merge-patch+json
Accept Content-type(s) you would like the response in: application/json, text/json, application/xml, text/xml, application/json-patch+json, application/merge-patch+json
Accept-Language Convert string references and multi-language values into a specified language (iso2) code.
SO-Language Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.
SO-Culture Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.
SO-TimeZone Specify the timezone code that you would like date/time responses converted to.
SO-AppToken The application token that identifies the partner app. Used when calling Online WebAPI from a server.

Request Body: request

SystemTemplateSettings

Property Name Type Description
SystemTemplateSettings SystemTemplateSettings System template settings item Carrier object for SystemTemplateSettings. Services for the SystemTemplateSettings Carrier is available from the CustomerService Agent.

Response:

OK

Response Description
200 OK

Response body: SystemTemplateSettings

Property Name Type Description
CustomerNewCustomerTemplateId int32 Template for new contacts
CustomerCustomerReplyTemplateId int32 Template for auto-reply
CustomerPasswordTemplateId int32 Template for sending password to contacts
CustomerConfirmEmailTemplateId int32 Template for sending confirmation e-mail to contacts
CustomerChatLogTemplateId int32 Template for customer chat log
NewLinkTemplateId int32 Template for new link
HotlistNewMessageTemplateId int32 Template for notification of a new message in the favourites list
HotlistTicketActivatedTemplateId int32 Template for notification of a activated ticket in the favourites list
UserTicketAlarmTemplateId int32 Template for notification of escalated request
HotlistTicketTakenOverTemplateId int32 Template for notification of reassignment of a request in the favourites list
UserActiveTicketsTemplateId int32 Template for notification of open requests
UserNewMessageTemplateId int32 Template for notification of new message
UserTicketActivatedTemplateId int32 Template for notification of activated request
UserNewTicketTemplateId int32 Template for new ticket notification
PublishKbQuestionTemplateId int32 Template for formatting FAQ questions
PublishKbAnswerTemplateId int32 Template for formatting FAQ answers
UserTicketTakenOverTemplateId int32 Template for ticket reassignment
PrintTicketTemplateId int32 Template for printing a ticket
WeekStatTemplateId int32 Template for weekly statistics
TicketAlarmHotlistTemplateId int32 Template for notification of an escalated request in the favourites list
EmailAddresses string One or more e-mail addresses (comma-separated)
TableRight TableRight The carrier's table right
FieldProperties object Field property dictionary mapping field names to field access rights.

Sample request

POST /api/v1/Agents/CustomerService/SaveSystemTemplateSettings
Authorization: Basic dGplMDpUamUw
Accept: application/json; charset=utf-8
Accept-Language: en
Content-Type: application/json; charset=utf-8

{
  "SystemTemplateSettings": null
}

Sample response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

{
  "CustomerNewCustomerTemplateId": 533,
  "CustomerCustomerReplyTemplateId": 885,
  "CustomerPasswordTemplateId": 467,
  "CustomerConfirmEmailTemplateId": 896,
  "CustomerChatLogTemplateId": 121,
  "NewLinkTemplateId": 622,
  "HotlistNewMessageTemplateId": 307,
  "HotlistTicketActivatedTemplateId": 507,
  "UserTicketAlarmTemplateId": 189,
  "HotlistTicketTakenOverTemplateId": 316,
  "UserActiveTicketsTemplateId": 797,
  "UserNewMessageTemplateId": 958,
  "UserTicketActivatedTemplateId": 979,
  "UserNewTicketTemplateId": 257,
  "PublishKbQuestionTemplateId": 213,
  "PublishKbAnswerTemplateId": 86,
  "UserTicketTakenOverTemplateId": 49,
  "PrintTicketTemplateId": 105,
  "WeekStatTemplateId": 828,
  "TicketAlarmHotlistTemplateId": 564,
  "EmailAddresses": "mollie@bartell.name",
  "TableRight": null,
  "FieldProperties": {
    "fieldName": {
      "FieldRight": null,
      "FieldType": "System.Int32",
      "FieldLength": 661
    }
  }
}
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top