| GET,OPTIONS | /v1/field/application/prefill |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AgreementJobID | query | int | No | |
| JobID | query | int | No | |
| ProjectID | query | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Products | form | List<ApplicationProduct> | No | |
| ApplicatorContactID | form | int | No | |
| ApplicatorName | form | string | No | |
| ApplicatorLicence | form | string | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| MaterialID | form | int | No | |
| ProductName | form | string | No | |
| EpaRegistrationNumber | form | string | No | |
| IsRestrictedUse | form | bool | No | |
| SignalWord | form | string | No | |
| ReEntryIntervalHours | form | int? | No | |
| DefaultRate | form | decimal? | No | |
| RateUnit | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/field/application/prefill HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Products:
[
{
MaterialID: 0,
ProductName: String,
EpaRegistrationNumber: String,
IsRestrictedUse: False,
SignalWord: String,
ReEntryIntervalHours: 0,
DefaultRate: 0,
RateUnit: String
}
],
ApplicatorContactID: 0,
ApplicatorName: String,
ApplicatorLicence: String,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}