Bombshell Agency Platform Service

<back to all web services

ActivityPlanRequest

The following routes are available for this service:
POST,OPTIONS/v1/ActivityPlan
GET,OPTIONS/v1/ActivityPlan/{AgentId}/{DateFrom}/{DateTo}

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/ActivityPlanRequest HTTP/1.1 
Host: testapi.bombshelltechnologies.co 
Content-Type: text/csv
Content-Length: length

ActivityPlan,AgentId,DateFrom,DateTo,ApplicationGoal,LearningGoal,MarketingGoal,ReferralGoal,ClientUpdateGoal,FirstContactGoal,FirstAppointmentGoal,SecondAppointmentGoal
"{Id:0,DateFrom:0001-01-01,DateTo:0001-01-01,EventTypeId:0,EventTypeName:String,AgentId:0,Goal:0,Actual:0,DateCreated:0001-01-01}",0,0001-01-01,0001-01-01,0,0,0,0,0,0,0,0

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

ResponseStatus,ActivityPlans,ActivityData
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","[{Id:0,DateFrom:0001-01-01,DateTo:0001-01-01,EventTypeId:0,EventTypeName:String,AgentId:0,Goal:0,Actual:0,DateCreated:0001-01-01}]","{AppCount:0,AvgFlow:0,AvgTransfer:0,AvgLife:0,LifePerAnnuity:0,FlowTransfer:0,TransferRatio:0}"