In This Article:

    Activity Form Types

    In This Article:

      This API call returns the list of currently available activity form types. 

      Request

      • Method: GET
      • URL: https://dev-api.salsalabs.org/api/developer/ext/v1/activities/types

      • Parameters: N/A

      Example: https://dev-api.salsalabs.org/api/developer/ext/v1/activities/types

      Response

      Fields

      Name Type Description
      results List result list
      code String form type code
      name String form type name
      count Integer count of records in current response

       

      JSON Example

      {
        "id""3694affd-3bf7-4582-84b3-91f7c85cedff",
        "timestamp""2018-02-06T12:49:24.975Z",
        "header": {
          "processingTime": 88,
          "serverId""local"
        },
        "payload": {
          "results": [
            {
              "code""FUNDRAISE",
              "name""Fundraise"
            },
            {
              "code""P2P_EVENT",
              "name""Peer 2 Peer Event"
            },
            {
              "code""PETITION",
              "name""Petition"
            },
            {
              "code""SUBSCRIBE",
              "name""Subscribe"
            },
            {
              "code""TARGETED_LETTER",
              "name""Targeted Action"
            },
            {
              "code""TICKETED_EVENT",
              "name""Ticketed Event"
            }
          ],
          "count": 6
        }
      }
      Was this article helpful?
      0 out of 0 found this helpful
      Have more questions? Submit a request

      Comments

      0 comments

      Please sign in to leave a comment.