Trendsic Platform Service

<back to all web services

ApplicationCreateRequest

Requires Authentication
The following routes are available for this service:
POST,OPTIONS/v1/field/application
ApplicationCreateRequest Parameters:
NameParameterData TypeRequiredDescription
WorkerScheduleItemIDbodyintNo
AgreementJobIDbodyintNo
JobIDbodyintNo
ProjectIDbodyintNo
AppliedAtbodystringNo
AreaTreatedbodystringNo
MaterialIDbodyintNo
AmountAppliedbodydecimal?No
AmountUnitbodystringNo
ConcentrationbodystringNo
TreatedQuantitybodydecimal?No
TreatedUnitbodystringNo
TargetPestbodystringNo
WindSpeedMphbodydecimal?No
WindDirectionbodystringNo
TemperatureFbodydecimal?No
WeatherSourcebodystringNo
NotesbodystringNo
AmendsApplicationIDbodyintNo
ApplicationResponse Parameters:
NameParameterData TypeRequiredDescription
ApplicationsformList<ApplicationView>No
ChemicalApplicationIDformintNo
ResponseStatusformResponseStatusNo
ApplicationView Parameters:
NameParameterData TypeRequiredDescription
ChemicalApplicationIDformintNo
AppliedAtformDateTime?No
AreaTreatedformstringNo
ProductNameformstringNo
EpaRegistrationNumberformstringNo
AmountAppliedformdecimal?No
AmountUnitformstringNo
ConcentrationformstringNo
TreatedQuantityformdecimal?No
TreatedUnitformstringNo
TargetPestformstringNo
ApplicatorNameformstringNo
ApplicatorLicenceformstringNo
WindSpeedMphformdecimal?No
WindDirectionformstringNo
TemperatureFformdecimal?No
NotesformstringNo
SubmittedAtformDateTime?No
AmendsApplicationIDformint?No
IsAmendedformboolNo

To override the Content-type in your clients, use the 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 /v1/field/application HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	WorkerScheduleItemID: 0,
	AgreementJobID: 0,
	JobID: 0,
	ProjectID: 0,
	AppliedAt: String,
	AreaTreated: String,
	MaterialID: 0,
	AmountApplied: 0,
	AmountUnit: String,
	Concentration: String,
	TreatedQuantity: 0,
	TreatedUnit: String,
	TargetPest: String,
	WindSpeedMph: 0,
	WindDirection: String,
	TemperatureF: 0,
	WeatherSource: String,
	Notes: String,
	AmendsApplicationID: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Applications: 
	[
		{
			ChemicalApplicationID: 0,
			AppliedAt: 0001-01-01,
			AreaTreated: String,
			ProductName: String,
			EpaRegistrationNumber: String,
			AmountApplied: 0,
			AmountUnit: String,
			Concentration: String,
			TreatedQuantity: 0,
			TreatedUnit: String,
			TargetPest: String,
			ApplicatorName: String,
			ApplicatorLicence: String,
			WindSpeedMph: 0,
			WindDirection: String,
			TemperatureF: 0,
			Notes: String,
			SubmittedAt: 0001-01-01,
			AmendsApplicationID: 0,
			IsAmended: False
		}
	],
	ChemicalApplicationID: 0,
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}