AdvisorConnect

<back to all web services

CampaignTimeZoneRequest

The following routes are available for this service:
PUT,OPTIONS/v1/Campaign/{CampaignId}/TimeZone

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

HTTP + JSV

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

POST /jsv/reply/CampaignTimeZoneRequest HTTP/1.1 
Host: api.test1.advisorconnect.us 
Content-Type: text/jsv
Content-Length: length

{
	TimeZone: String,
	CampaignId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String
			}
		]
	},
	Campaign: 
	[
		{
			CampaignId: 0,
			CampaignName: String,
			CampaignTypeId: 0,
			ListId: 0,
			TemplateId: 0,
			FromEmail: String,
			EmailCount: 0,
			DomainId: 0,
			SleepAfter: 0,
			Paused: False,
			DateStarted: 0001-01-01,
			DateCompleted: 0001-01-01,
			DateCreated: 0001-01-01,
			LandingSiteId: 00000000000000000000000000000000,
			AllowOnsiteAppt: False,
			TimeZone: String,
			AssignmentType: 0,
			Stopped: False,
			RoundRobinAgents: 
			[
				{
					AgentId: 0,
					UserId: 00000000000000000000000000000000,
					FirstName: String,
					LastName: String,
					Email: String,
					CalendarId: 00000000000000000000000000000000,
					GoogleCalendar: String,
					Latitude: 0,
					Longitude: 0,
					AgentLevel: 0,
					AsapOptOut: False,
					CompanyId: 0,
					SplitAgentId: 0,
					AsapLockOut: False,
					AsapOptIn: False,
					AcceptAllAppts: False,
					TimeZone: String,
					AgreementDate: 0001-01-01,
					OptOutDate: 0001-01-01,
					PaymentPlan: String,
					AsapWeeklyAppts: 0,
					CompanyAssociation: String,
					ReferredBy: String,
					SaturdayAppts: False,
					SundayAppts: False,
					StatusId: 0,
					StatusFollowUpDate: 0001-01-01,
					StatusNote: String,
					Districts: 
					[
						{
							Id: 0,
							AgentId: 0,
							DistrictId: 0,
							Name: String,
							CampaignTypeId: 0
						}
					],
					SSN: String,
					DOB: String,
					Customer: False,
					VendorType: String,
					AsapLockOutDate: 0001-01-01,
					ProfileImage: AA==,
					RegistrantNumber: String
				}
			]
		}
	]
}