20.0 Get Field List

20.0 Get Field List

Retrieve a list of screen layout Fields from the Campaign Template supplied. 

Entry point:

https://<server host>/servicemanager/rest/CampaignAPI/getFieldList

Parameters:

Parameter

Description

fTemplateId

Campaign Template id

See 16.0 Get Campaign Template List to obtain Template Id's

apiKey

api key provided by Noojee Support

 

Sample query:

https://<server host>/servicemanager/rest/CampaignAPI/getFieldList?fTemplateId=37& apiKey=f863246a-973e-11e6-8784-08002718f5b5

 

Curl Example

curl "https://<server host>/servicemanager/rest/CampaignAPI/getFieldList?fTemplateId=37&apiKey=f863246a-973e-11e6-8784-08002718f5b5"

 

 

Sample success response:

{"type":"Template Field","entities":[{"id":537,"name":"City"},{"id":535,"name":"FirstPhone"} ,{"id":540,"name":"Name"},{"id":538,"name":"PostCode"},{"id":539,"name":"State"},{"id":536,"name":"StreetAddress"}] ,"code":0,"message":"OK"}