GET api/v2/Movement/GetMovementsByGroup?GroupId={GroupId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| GroupId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of MovementsContract| Name | Description | Type | Additional information |
|---|---|---|---|
| MovementId | integer |
None. |
|
| IntegratorId | integer |
None. |
|
| FarmId | integer |
None. |
|
| GroupId | integer |
None. |
|
| MovementTypeId | integer |
None. |
|
| MovementDate | date |
None. |
|
| Description | string |
None. |
|
| Heads | integer |
None. |
|
| Status | integer |
None. |
|
| IsClosed | boolean |
None. |
|
| Origin | string |
None. |
|
| AverageWeight | decimal number |
None. |
|
| Exported | boolean |
None. |
|
| Reference | string |
None. |
|
| Planned | boolean |
None. |
|
| IntegratorName | string |
None. |
|
| FarmName | string |
None. |
|
| MovementTypeDescription | string |
None. |
|
| StatusDescription | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"MovementId": 1,
"IntegratorId": 2,
"FarmId": 3,
"GroupId": 4,
"MovementTypeId": 5,
"MovementDate": "2026-09-22 12:11:07",
"Description": "sample string 6",
"Heads": 7,
"Status": 8,
"IsClosed": true,
"Origin": "sample string 10",
"AverageWeight": 11.0,
"Exported": true,
"Reference": "sample string 13",
"Planned": true,
"IntegratorName": "sample string 15",
"FarmName": "sample string 16",
"MovementTypeDescription": "sample string 17",
"StatusDescription": "sample string 18"
},
{
"MovementId": 1,
"IntegratorId": 2,
"FarmId": 3,
"GroupId": 4,
"MovementTypeId": 5,
"MovementDate": "2026-09-22 12:11:07",
"Description": "sample string 6",
"Heads": 7,
"Status": 8,
"IsClosed": true,
"Origin": "sample string 10",
"AverageWeight": 11.0,
"Exported": true,
"Reference": "sample string 13",
"Planned": true,
"IntegratorName": "sample string 15",
"FarmName": "sample string 16",
"MovementTypeDescription": "sample string 17",
"StatusDescription": "sample string 18"
}
]
application/xml, text/xml
Sample:
<ArrayOfMovementsContract xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.agrifoodatsolutions.com/FPService/v2/contracts/2017/01">
<MovementsContract>
<AverageWeight>11</AverageWeight>
<Description>sample string 6</Description>
<Exported>true</Exported>
<FarmId>3</FarmId>
<FarmName>sample string 16</FarmName>
<GroupId>4</GroupId>
<Heads>7</Heads>
<IntegratorId>2</IntegratorId>
<IntegratorName>sample string 15</IntegratorName>
<IsClosed>true</IsClosed>
<MovementDate>2026-09-22T12:11:07.4114091+00:00</MovementDate>
<MovementId>1</MovementId>
<MovementTypeDescription>sample string 17</MovementTypeDescription>
<MovementTypeId>5</MovementTypeId>
<Origin>sample string 10</Origin>
<Planned>true</Planned>
<Reference>sample string 13</Reference>
<Status>8</Status>
<StatusDescription>sample string 18</StatusDescription>
</MovementsContract>
<MovementsContract>
<AverageWeight>11</AverageWeight>
<Description>sample string 6</Description>
<Exported>true</Exported>
<FarmId>3</FarmId>
<FarmName>sample string 16</FarmName>
<GroupId>4</GroupId>
<Heads>7</Heads>
<IntegratorId>2</IntegratorId>
<IntegratorName>sample string 15</IntegratorName>
<IsClosed>true</IsClosed>
<MovementDate>2026-09-22T12:11:07.4114091+00:00</MovementDate>
<MovementId>1</MovementId>
<MovementTypeDescription>sample string 17</MovementTypeDescription>
<MovementTypeId>5</MovementTypeId>
<Origin>sample string 10</Origin>
<Planned>true</Planned>
<Reference>sample string 13</Reference>
<Status>8</Status>
<StatusDescription>sample string 18</StatusDescription>
</MovementsContract>
</ArrayOfMovementsContract>