---
updatedAt: 2026-04-08T10:25:42.000Z
---

# Get an organization's scoring models - GetScoringModels

Returns scoring models for a specific organization.

[block:callout]
{
  "type": "info",
  "title": "Notes",
  "body": "Scoring models return based on the authenticated user's access.\n\nOnly defined score components for the model returned are included in the response. If the rank section of a scoring model was not defined, then it would not be listed as one of the defined score components for the returned scoring model."
}
[/block]

## Element (Required)

You do not need to define any of the elements for this call: Envelope, Body, GetScoringModels. See "Example call - XML" for exact input.

[block:code]
{
  "codes": [
    {
      "code": "<Envelope>\n  <Body>\n    <GetScoringModels>\n    </GetScoringModels>\n  </Body>\n</Envelope>",
      "language": "xml",
      "name": "Example call - XML"
    },
    {
      "code": "<Envelope>\n  <Body>\n    <RESULT>\n      <SUCCESS>TRUE</SUCCESS>\n      <MODELS>\n        <MODEL>\n          <ID>5435</ID>\n          <NAME>LeadStatusScoringModel</NAME>\n          <DESCRIPTION>This model is used to qualify leads \n          into SFDC promotions</DESCRIPTION>\n          <CREATED>10/12/11 10:15 PM</CREATED>\n          <LAST_MODIFIED>10/23/11 04:18 PM</LAST_MODIFIED>\n          <SCORE_COMPONENT_TYPES>\n            <SCORE_COMPONENT_TYPE>\n              <KEY>totalScore</KEY>\n              <DESCRIPTION>\n              This is the overall score for the contact</DESCRIPTION>\n            </SCORE_COMPONENT_TYPE>\n            <SCORE_COMPONENT_TYPE>\n              <KEY>behaviorScore</KEY>\n              <DESCRIPTION>\n              This is the behavior score for the contact</DESCRIPTION>\n            </SCORE_COMPONENT_TYPE>\n            <SCORE_COMPONENT_TYPE>\n              <KEY>totalRank</KEY>\n              <DESCRIPTION>\n              This is the rank for the contact based on total score</DESCRIPTION>\n              <VALUES>\n                <VALUE>Hot</VALUE>\n                <VALUE>Warm</VALUE>\n                <VALUE>Cold</VALUE>\n              </VALUES>\n            </SCORE_COMPONENT_TYPE>\n          </SCORE_COMPONENT_TYPES>\n        </MODEL>\n        <MODEL>\n          <ID>5435</ID>\n          <NAME>CustomerValueScoringModel</NAME>\n          <DESCRIPTION>This model is used to qualify leads \n          into SFDC promotions</DESCRIPTION>\n          <CREATED>10/12/11 10:15 PM</CREATED>\n          <LAST_MODIFIED>\n          10/23/11 04:18 PM</LAST_MODIFIED\n          <SCORE_COMPONENT_TYPES>\n            <SCORE_COMPONENT_TYPE>\n              <KEY>totalScore</KEY>\n              <DESCRIPTION>\n              This is the overall score for the contact</DESCRIPTION>\n            </SCORE_COMPONENT_TYPE>\n            <SCORE_COMPONENT_TYPE>\n              <KEY>behaviorScore</KEY>\n              <DESCRIPTION>\n              This is the behavior score for the contact</DESCRIPTION>\n            </SCORE_COMPONENT_TYPE>\n            <SCORE_COMPONENT_TYPE>\n              <KEY>totalRank</KEY>\n              <DESCRIPTION>\n              This is the rank for the contact based on total score</DESCRIPTION>\n              <VALUES>\n                <VALUE>High</VALUE>\n                <VALUE>Average</VALUE>\n                <VALUE>Low</VALUE>\n              </VALUES>\n            </SCORE_COMPONENT_TYPE>\n          </SCORE_COMPONENT_TYPES>\n        </MODEL>\n      </MODELS>\n    </RESULT>\n  </Body>\n</Envelope>",
      "language": "xml",
      "name": "Example response - XML"
    },
    {
      "code": "<Envelope>\n  <Body>\n    <RESULT>\n      <SUCCESS>false</SUCCESS>\n    </RESULT>\n    <Fault>\n      <Request/>\n      <FaultCode/>\n      <FaultString>User session is invalid or expired.\n      </FaultString>\n      <detail>\n        <error>\n          <errorid>145</errorid>\n          <module/>\n          <class>SP.API</class>\n          <method/>\n        </error>\n      </detail>\n    </Fault>\n  </Body>\n</Envelope>",
      "language": "xml",
      "name": "Example error response - XML"
    }
  ]
}
[/block]

## Elements (Result)

**SUCCESS** - *True* if successful; *False* if not.

**MODELS** - XML node defining scoring models containing MODEL and its children.

**MODEL** - XML node defining each scoring model. Contains ID, NAME, DESCRIPTION, CREATED, LAST\_MODIFIED, and SCORE\_COMPONENT\_TYPES as children.
**ID** - The ID of the scoring model
**NAME** - The name of the scoring model
**DESCRIPTION** - The user description of the scoring model from the UI
**CREATED** - The created date of the scoring model
**LAST\_MODIFIED** - The last modified date of the scoring model

**SCORE\_COMPONENT\_TYPES** - The components (or sections) that define the scoring model containing SCORE\_COMPONENT\_TYPE and its children.

**SCORE\_COMPONENT\_TYPE** - XML node defining each component in the model. Contains KEY, DESCRIPTION, and VALUES as children.
**KEY** - The name of the component.
**DESCRIPTION** - Acoustic Campaign's definition of the score component.
**VALUES** - XML node defining the possible values that the specified component might return. Contains VALUE as a child.
**VALUE** - A defined value that can be returned from the score component.

## Error Codes

[block:parameters]
{
  "data": {
    "h-0": "Error Code",
    "h-1": "Description",
    "0-0": "145",
    "1-0": "6001",
    "2-0": "6002",
    "3-0": "6003",
    "4-0": "6004",
    "0-1": "User session is invalid or expired.",
    "1-1": "Scoring models are not available for this org.",
    "2-1": "Scoring model database is not set for this org.",
    "3-1": "Scoring models are not available for this user.",
    "4-1": "No scoring models defined for this org."
  },
  "cols": 2,
  "rows": 5
}
[/block]