POST api/masterdata/Planting/{seasonId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| seasonId | integer |
Required |
Body Parameters
MasterDataParameter| Name | Description | Type | Additional information |
|---|---|---|---|
| Timestamp | string |
None. |
|
| ConcurTimeStamp | Collection of byte |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<MasterDataParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.WebApi.Models"> <Timestamp>sample string 1</Timestamp> </MasterDataParameter>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of Planting| Name | Description | Type | Additional information |
|---|---|---|---|
| SupplierModuleId | integer |
None. |
|
| SupplierModuleCode | string |
None. |
|
| VarietyId | integer |
None. |
|
| SubVarietyId | integer |
None. |
|
| SeasonId | integer |
None. |
|
| ProduceId | integer |
None. |
|
| GrowingMethodId | integer |
None. |
|
| NumberOfPlants | integer |
None. |
|
| PlantsWasted | integer |
None. |
|
| PlantedDate | date |
None. |
|
| EndDate | date |
None. |
|
| HPIN | string |
None. |
|
| SupplierCode | string |
None. |
|
| VarietyCode | string |
None. |
|
| SubVarietyCode | string |
None. |
|
| ProduceCode | string |
None. |
|
| GrowingMethodCode | string |
None. |
|
| Id | integer |
None. |
|
| Code | string |
None. |
|
| Description | string |
None. |
|
| DeletedDate | date |
None. |
|
| ConcurTimeStamp | Collection of byte |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"SupplierModuleId": 1,
"SupplierModuleCode": "sample string 2",
"VarietyId": 3,
"SubVarietyId": 4,
"SeasonId": 5,
"ProduceId": 6,
"GrowingMethodId": 7,
"NumberOfPlants": 8,
"PlantsWasted": 9,
"PlantedDate": "2025-12-06T14:11:15.37499+10:30",
"EndDate": "2025-12-06T14:11:15.37499+10:30",
"HPIN": "sample string 12",
"SupplierCode": "sample string 13",
"VarietyCode": "sample string 14",
"SubVarietyCode": "sample string 15",
"ProduceCode": "sample string 16",
"GrowingMethodCode": "sample string 17",
"Id": 18,
"Code": "sample string 19",
"Description": "sample string 20",
"DeletedDate": "2025-12-06T14:11:15.37499+10:30",
"ConcurTimeStamp": "QEA="
},
{
"SupplierModuleId": 1,
"SupplierModuleCode": "sample string 2",
"VarietyId": 3,
"SubVarietyId": 4,
"SeasonId": 5,
"ProduceId": 6,
"GrowingMethodId": 7,
"NumberOfPlants": 8,
"PlantsWasted": 9,
"PlantedDate": "2025-12-06T14:11:15.37499+10:30",
"EndDate": "2025-12-06T14:11:15.37499+10:30",
"HPIN": "sample string 12",
"SupplierCode": "sample string 13",
"VarietyCode": "sample string 14",
"SubVarietyCode": "sample string 15",
"ProduceCode": "sample string 16",
"GrowingMethodCode": "sample string 17",
"Id": 18,
"Code": "sample string 19",
"Description": "sample string 20",
"DeletedDate": "2025-12-06T14:11:15.37499+10:30",
"ConcurTimeStamp": "QEA="
}
]
application/xml, text/xml
Sample:
<ArrayOfPlanting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.WebApi.Models.MasterDataModels">
<Planting>
<_x003C_Code_x003E_k__BackingField>sample string 19</_x003C_Code_x003E_k__BackingField>
<_x003C_ConcurTimeStamp_x003E_k__BackingField>QEA=</_x003C_ConcurTimeStamp_x003E_k__BackingField>
<_x003C_DeletedDate_x003E_k__BackingField>2025-12-06T14:11:15.37499+10:30</_x003C_DeletedDate_x003E_k__BackingField>
<_x003C_Description_x003E_k__BackingField>sample string 20</_x003C_Description_x003E_k__BackingField>
<_x003C_Id_x003E_k__BackingField>18</_x003C_Id_x003E_k__BackingField>
<EndDate>2025-12-06T14:11:15.37499+10:30</EndDate>
<GrowingMethodCode>sample string 17</GrowingMethodCode>
<GrowingMethodId>7</GrowingMethodId>
<HPIN>sample string 12</HPIN>
<NumberOfPlants>8</NumberOfPlants>
<PlantedDate>2025-12-06T14:11:15.37499+10:30</PlantedDate>
<PlantsWasted>9</PlantsWasted>
<ProduceCode>sample string 16</ProduceCode>
<ProduceId>6</ProduceId>
<SeasonId>5</SeasonId>
<SubVarietyCode>sample string 15</SubVarietyCode>
<SubVarietyId>4</SubVarietyId>
<SupplierCode>sample string 13</SupplierCode>
<SupplierModuleCode>sample string 2</SupplierModuleCode>
<SupplierModuleId>1</SupplierModuleId>
<VarietyCode>sample string 14</VarietyCode>
<VarietyId>3</VarietyId>
</Planting>
<Planting>
<_x003C_Code_x003E_k__BackingField>sample string 19</_x003C_Code_x003E_k__BackingField>
<_x003C_ConcurTimeStamp_x003E_k__BackingField>QEA=</_x003C_ConcurTimeStamp_x003E_k__BackingField>
<_x003C_DeletedDate_x003E_k__BackingField>2025-12-06T14:11:15.37499+10:30</_x003C_DeletedDate_x003E_k__BackingField>
<_x003C_Description_x003E_k__BackingField>sample string 20</_x003C_Description_x003E_k__BackingField>
<_x003C_Id_x003E_k__BackingField>18</_x003C_Id_x003E_k__BackingField>
<EndDate>2025-12-06T14:11:15.37499+10:30</EndDate>
<GrowingMethodCode>sample string 17</GrowingMethodCode>
<GrowingMethodId>7</GrowingMethodId>
<HPIN>sample string 12</HPIN>
<NumberOfPlants>8</NumberOfPlants>
<PlantedDate>2025-12-06T14:11:15.37499+10:30</PlantedDate>
<PlantsWasted>9</PlantsWasted>
<ProduceCode>sample string 16</ProduceCode>
<ProduceId>6</ProduceId>
<SeasonId>5</SeasonId>
<SubVarietyCode>sample string 15</SubVarietyCode>
<SubVarietyId>4</SubVarietyId>
<SupplierCode>sample string 13</SupplierCode>
<SupplierModuleCode>sample string 2</SupplierModuleCode>
<SupplierModuleId>1</SupplierModuleId>
<VarietyCode>sample string 14</VarietyCode>
<VarietyId>3</VarietyId>
</Planting>
</ArrayOfPlanting>