GetActionSubTypeList
| Initial Build | 2011.01 |
| xWeb | Web Method |
| Response Type | XML Results |
The GetActionSubTypeList web method returns a list of Action Subtypes for the Action Type specified in the parameter.
Parameters
actionTypeKey (guid). The Action Type Key. You can get a list of these keys from GetActionTypeList.
Response
The GetActionSubTypeList web method returns a list of Action Subtypes for the Action Type specified in the parameter.
Sample Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.avectra.com/2005/">
<soapenv:Header>
<ns:AuthorizationToken>
<ns:Token>***********</ns:Token>
</ns:AuthorizationToken>
</soapenv:Header>
<soapenv:Body>
<ns:GetActionSubTypeList>
<ns:actionTypeKey>909B5D5B-B451-449B-A539-547653322849</ns:actionTypeKey>
</ns:GetActionSubTypeList>
</soapenv:Body>
</soapenv:Envelope>
Sample Response
Extender Columns, if any, are returned in the XML. There may be zero, one or multiple <Result> node(s); the overall count will be in the recordReturn attribute in <Results>.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<AuthorizationToken xmlns="http://www.avectra.com/2005/">
<Token>5f9bcd8c-0b95-4ac0-9a3b-5b6290843d97</Token>
</AuthorizationToken>
</soap:Header>
<soap:Body>
<GetActionSubTypeListResponse xmlns="http://www.avectra.com/2005/">
<GetActionSubTypeListResult>
<Results recordReturn="2">
<Result>
<sac_key>aa904587-991c-4276-aaf3-3c33b4867735</sac_key>
<sac_cat_key>909b5d5b-b451-449b-a539-547653322849</sac_cat_key>
<sac_action_code>KEYSTONE</sac_action_code>
<sac_key_ext>aa904587-991c-4276-aaf3-3c33b4867735</sac_key_ext>
</Result>
<Result>
<sac_key>ef3355f8-efc8-4346-a7e8-5d4824e2850c</sac_key>
<sac_cat_key>909b5d5b-b451-449b-a539-547653322849</sac_cat_key>
<sac_action_code>7CMT5</sac_action_code>
<sac_key_ext>ef3355f8-efc8-4346-a7e8-5d4824e2850c</sac_key_ext>
</Result>
</Results>
</GetActionSubTypeListResult>
</GetActionSubTypeListResponse>
</soap:Body>
</soap:Envelope>
Recommendations
In a mature NetForum system, these codes will rarely change. Therefore we recommend you cache these results and get a new list on a regular interval.
JSON Method
POST /xWeb/JSON/GetActionSubTypeList
DATA: JSON
{
"GetActionSubTypeList " : {
"actionTypeKey":"{{catKey}}"
}
}
SAMPLE RESULT
HTTP STATUS: 200
DATA: JSON
{
"Results": {
"@recordReturn": "13",
"Result": [
{
"sac_key": "b14dce2e-0fab-4ea5-ae2a-0632ceac0ef1",
"sac_cat_key": "80cdc980-37f9-4573-94f7-2911bfc84426",
"sac_action_code": "ubiquitous1634125448",
"sac_key_ext": "b14dce2e-0fab-4ea5-ae2a-0632ceac0ef1"
},
{
"sac_key": "2684a237-b9c1-41c0-8fc9-0c797f75cf40",
"sac_cat_key": "80cdc980-37f9-4573-94f7-2911bfc84426",
"sac_action_code": "viral1633491231",
"sac_key_ext": "2684a237-b9c1-41c0-8fc9-0c797f75cf40"
},
{
"sac_key": "d8d533b8-5c71-4cdd-8a92-101cb52d1d6d",
"sac_cat_key": "80cdc980-37f9-4573-94f7-2911bfc84426",
"sac_action_code": "visionary1633576518",
"sac_key_ext": "d8d533b8-5c71-4cdd-8a92-101cb52d1d6d"
},
{
"sac_key": "f122e85e-3f33-4369-bcbd-2598b0ab76fd",
"sac_cat_key": "80cdc980-37f9-4573-94f7-2911bfc84426",
"sac_action_code": "24/71633618556",
"sac_key_ext": "f122e85e-3f33-4369-bcbd-2598b0ab76fd"
},
{
"sac_key": "70153139-751b-4996-9c46-42076dea2499",
"sac_cat_key": "80cdc980-37f9-4573-94f7-2911bfc84426",
"sac_action_code": "one-to-one1633550781",
"sac_key_ext": "70153139-751b-4996-9c46-42076dea2499"
},
{
"sac_key": "0c8304bf-1300-4f06-b8d6-4ccae7a8e483",
"sac_cat_key": "80cdc980-37f9-4573-94f7-2911bfc84426",
"sac_action_code": "strategic1633475080",
"sac_key_ext": "0c8304bf-1300-4f06-b8d6-4ccae7a8e483"
},
{
"sac_key": "e3f60a06-dfb6-48b7-a50d-62c764d43e5b",
"sac_cat_key": "80cdc980-37f9-4573-94f7-2911bfc84426",
"sac_action_code": "collaborative1633552337",
"sac_key_ext": "e3f60a06-dfb6-48b7-a50d-62c764d43e5b"
},
{
"sac_key": "d2bc2794-298d-4700-9b37-63c0489b0c36",
"sac_cat_key": "80cdc980-37f9-4573-94f7-2911bfc84426",
"sac_action_code": "DDD",
"sac_key_ext": "d2bc2794-298d-4700-9b37-63c0489b0c36"
},
{
"sac_key": "88f54279-1dab-43b2-9347-bacf4731a2e0",
"sac_cat_key": "80cdc980-37f9-4573-94f7-2911bfc84426",
"sac_action_code": "web-enabled1633700380",
"sac_key_ext": "88f54279-1dab-43b2-9347-bacf4731a2e0"
},
{
"sac_key": "3fa15f92-5bd6-4178-a7b3-d9711ce28ab0",
"sac_cat_key": "80cdc980-37f9-4573-94f7-2911bfc84426",
"sac_action_code": "viral1633640180",
"sac_key_ext": "3fa15f92-5bd6-4178-a7b3-d9711ce28ab0"
},
{
"sac_key": "65c31f0e-945f-4f45-b128-dc19550ee0b4",
"sac_cat_key": "80cdc980-37f9-4573-94f7-2911bfc84426",
"sac_action_code": "innovative1633650756",
"sac_key_ext": "65c31f0e-945f-4f45-b128-dc19550ee0b4"
},
{
"sac_key": "44aa8564-c8e9-43f6-9bed-e07e56cbe47f",
"sac_cat_key": "80cdc980-37f9-4573-94f7-2911bfc84426",
"sac_action_code": "efficient1633572575",
"sac_key_ext": "44aa8564-c8e9-43f6-9bed-e07e56cbe47f"
},
{
"sac_key": "7238bee3-8fce-4f4f-a0d1-fa32873c22a1",
"sac_cat_key": "80cdc980-37f9-4573-94f7-2911bfc84426",
"sac_action_code": "holistic1633573647",
"sac_key_ext": "7238bee3-8fce-4f4f-a0d1-fa32873c22a1"
}
]
}
}