Skip to main content

Update Account Template

API URL: POST https://userapi-demo.s2f.projectx.com/AccountTemplate/update

API Reference: /AccountTemplate/update

info
Documentation on this page is applicable to platforms that have Account Templates enabled. If you are unsure whether you have Account Templates enabled, please contact your account manager.

Description


Update Account Template.

Parameters


NameTypeDescriptionRequiredNullable
titlestringThe Account Template title.truefalse
namestringThe Account Template name.truefalse
descriptionstringThe Account Template description.truefalse
notesstringNotes on the Account Template.falsetrue
startingBalancedecimalThe starting balance for all accounts created from this Account Template.falsefalse
margindecimalThe margin for all accounts created from this Account Template.falsefalse
titleColorstringThe title color for the Account Template.falsetrue
tagintThe Account Template tag.
Valid Values:
  • 0 - Standard
  • 1 - Practice
truefalse
idintThe Account Template id.truefalse

Example Usage


Example Request

  {
"title": "string",
"name": "string",
"description": "string",
"notes": "string",
"startingBalance": 0,
"margin": 0,
"titleColor": "string",
"tag": 0,
"id": 0
}

Example Response

  {
"success": true,
"errorMessage": "string"
}