GET /api/.../weedingjobs/{id}
Return properties of a weeding job.
Name | Type | Required | Description |
---|---|---|---|
id | Integer | Yes | The id of the record set. |
{
"RecordSetID": 328,
"RecordSetName": "Weeding 2023-06-01",
"OrganizationOwnerID": 82
"OrganizationOwnerName": "Test Branch Eleven",
"NumberOfRecords": 118,
"WeedingTemplateID": 24,
"WeedingTemplateName": "Weeding - Summer Titles",
"WeedingStatusID": 1,
"WeedingStatus": "Pending",
"CreatorID": 1828,
"CreatorName": "jane.smith",
"CreationDate": "2021-06-14T16:37:08.077-04:00",
"ModifierID": 2811,
"ModifierName": "harold.stevens",
"ModificationDate": "2022-11-08T09:23:04.504-04:00",
"DiscardAmount": 47.83,
"ExceedsDiscardAmountThreshold": false
}
Code | Description |
---|---|
200 | OK. Success |
404 | Not Found |
GET /api/.../weedingjobs
Return all weeding jobs.
[
{
"RecordSetID": 328,
"RecordSetName": "Weeding 2023-06-01",
"OrganizationOwnerID": 82
"OrganizationOwnerName": "Test Branch Eleven",
"NumberOfRecords": 118,
"WeedingTemplateID": 24,
"WeedingTemplateName": "Weeding - Summer Titles",
"WeedingStatusID": 1,
"WeedingStatus": "Pending",
"CreatorID": 1828,
"CreatorName": "jane.smith",
"CreationDate": "2021-06-14T16:37:08.077-04:00",
"ModifierID": 2811,
"ModifierName": "harold.stevens",
"ModificationDate": "2022-11-08T09:23:04.504-04:00",
"DiscardAmount": 47.83,
"ExceedsDiscardAmountThreshold": false
}
]
Code | Description |
---|---|
200 | OK. Success |
404 | Not Found |
POST /api/.../weedingjobs
Create a new weeding job.
Name | Type | Required | Description |
---|---|---|---|
DtoWeedingJobData | WeedingJob | Yes | Define this parameter in the request body. |
Property | Type | Nullable | Description |
---|---|---|---|
RecordSetID | string | No | The unique id assigned to the record set. |
WeedingTemplateID | string | No | The unique id assigned to the weeding template. |
WeedingStatusID | string | No | The id assigned to the weeding status. Accepts: 1 |
True is returned upon success.
true
Code | Description |
---|---|
200 | OK. Success |
400 | Failure |
404 | Not Found |
PUT /api/.../weedingjobs/{id}
Update a weeding job.
Name | Type | Required | Description |
---|---|---|---|
DtoWeedingJobData | WeedingJob | Yes | Define this parameter in the request body. |
Property | Type | Nullable | Description |
---|---|---|---|
RecordSetID | string | No | The unique id assigned to the record set. |
WeedingTemplateID | string | No | The unique id assigned to the weeding template. |
WeedingStatusID | string | No |
The id assigned to the weeding status. Accepts: 1 (Pending), 2 (In Review), 3 (Approval Requested), 4 (Approved) |
True is returned upon success.
true
Code | Description |
---|---|
200 | OK. Success |
400 | Failure |
404 | Not Found |
PUT /api/.../weedingjobs
Update a list of weeding jobs.
Name | Type | Required | Description |
---|---|---|---|
DtoWeedingJobBulkUpdateData | WeedingJobs | Yes | Define this parameter in the request body. |
Property | Type | Nullable | Description |
---|---|---|---|
WeedingStatusID | string | No |
The id assigned to the weeding status. Accepts: 1 (Pending), 4 (Approved) |
RecordSetIDs | List of integers | No | The list of record set identifiers to be updated. |
WeedingAlertAcknowledged | Boolean | No | Has the user acknowledged that the record set(s) include alerts. |
[
{
"FailedIDs": [
1234,
1238
],
"SuccessIDs": [
1235,
1236,
1237,
1239,
1240
]
}
]
Code | Description |
---|---|
200 | OK. Success |
400 | Failure |
404 | Not Found |