Fetch a Program by Name

get

/rest/api/v1.3/programs/{programName}

Fetches a Program by program name.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

Default Response

Fetches details for the specified program name.
Body ()
Root Schema : programByName-response
Type: object
Title: programByName-response
Show Source
Nested Schema : channels
Type: array
List of channels for the program
Show Source
Nested Schema : list
Type: object
List details associated with the program
Show Source
Back to Top

Examples

Use this interface to get a list of Responsys programs, using the program name to search. The response includes information about the program.

Required request headers:

FIELDS DESCRIPTION
Authorization <AUTH_TOKEN>
Content-Type application/json

Response Notes:

Sample Response Body

{
  "id": 86292841,
  "name": "Program_Name",
  "folderName": "API_Folder",
  "channels": [
    
  ],
  "list": {
    "id": 86126161,
    "name": "List_Name"
  },
  "status": "NOT_RUNNING",
  "createdOn": "13/05/2020",
  "createdBy": "API_Account",
  "modifiedOn": "13/05/2020",
  "modifiedBy": "API_Account",
  "links": [
    {
      "rel": "self",
      "href": "/rest/api/v1.3/programs/Program_Name",
      "method": "GET"
    },
    {
      "rel": "getAllPrograms",
      "href": "/rest/api/v1.3/programs",
      "method": "GET"
    },
    {
      "rel": "updateProgramState",
      "href": "/rest/api/v1.3/programs/Program_Name",
      "method": "PATCH"
    }
  ]
}
	
Back to Top