POST PaperClip/PostAssemblySTLM
Create an Assembly for STLM ONLY
Request Information
URI Parameters
Body Parameters
ClsGrPaperclipAdd| Name | Description | Type | Additional Information |
|---|---|---|---|
| PaperclipId |
Assembly Number on the Assembly |
string |
Max length: 20 |
| LocationGuid |
Location Guid on the Assembly |
globally unique identifier |
Required |
| CommodityGuid |
Commodity Guid on the Assembly |
globally unique identifier |
Required |
| DateEstablished |
Date Established on the Assembly |
string |
Required Format must be MM/dd/yyyy |
| FarmGuid |
Farm Guid on the Assembly |
globally unique identifier | |
| FieldGuid |
Field Guid on the Assembly |
globally unique identifier | |
| CropSeason |
Crop Season on the Assembly |
string |
Max length: 20 |
| LotNumber |
Lot Number on the Assembly |
string |
Max length: 30 |
| UnavailableForSelection |
Determines if an Assembly is available for a selection |
boolean | |
| DefaultCashPrice |
Cash Price on the Assembly |
decimal number |
Max of 4 decimal places |
| GrPaperclipDefSplits |
List of Customer Splits on the Assembly |
Collection of ClsGrPaperclipDefSplitsAdd |
Required |
| GrPaperclipDefShrinks |
List of Shrink Tables on the Assembly |
Collection of ClsGrPaperclipDefShrinkAdd | |
| GrPaperclipDefDocks |
List of Dock Tables on the Assembly |
Collection of ClsGrPaperclipDefDockAdd | |
| GrPaperclipDefDryings |
List of Drying Tables on the Assembly |
Collection of ClsGrPaperclipDefDryingAdd | |
| GrPaperclipDefPremDiscs |
List of Premium Discounts on the Assembly |
Collection of ClsGrPaperclipDefPremDiscAdd | |
| GrPaperclipDefFrtCharges |
List of Freight Charges on the Assembly |
Collection of ClsGrPaperclipDefFrtChargesAdd | |
| GrPaperclipComments |
List of Comments on the Assembly |
Collection of ClsGrPaperclipCommentAdd | |
| GRPaperclipDefCustContOverride |
List of Customer Contract Overrides on the Assembly |
Collection of ClsGRPaperclipDefCustContOverrideAdd |
Request Formats
application/json, text/json
{
"PaperclipId": "sample string 1",
"LocationGuid": "6f6a64b4-afb9-4711-98f8-f38b3f49755f",
"CommodityGuid": "48379170-6023-47cc-b72c-3c09fba8a869",
"DateEstablished": "sample string 4",
"FarmGuid": "5616e202-4f8c-4dc4-8431-7bc93b84c040",
"FieldGuid": "0667ae51-90a0-43ba-8057-f394e52cb088",
"CropSeason": "sample string 5",
"LotNumber": "sample string 6",
"UnavailableForSelection": true,
"DefaultCashPrice": 1.1,
"GrPaperclipDefSplits": [
{
"CustomerGuid": "09f09a03-425a-480c-86c1-765a248b1fb1",
"SplitPercent": 1.1,
"Disposition": "sample string 3",
"PurchaseContractGuid": "c7f810f4-2e55-41f4-91e8-4556245b9e7e",
"ChargeScheduleGuid": "9d23b3cd-4367-4076-8573-b9c0557ff0a5",
"CondoYn": true,
"FreightPercent": 1.1
},
{
"CustomerGuid": "09f09a03-425a-480c-86c1-765a248b1fb1",
"SplitPercent": 1.1,
"Disposition": "sample string 3",
"PurchaseContractGuid": "c7f810f4-2e55-41f4-91e8-4556245b9e7e",
"ChargeScheduleGuid": "9d23b3cd-4367-4076-8573-b9c0557ff0a5",
"CondoYn": true,
"FreightPercent": 1.1
}
],
"GrPaperclipDefShrinks": [
{
"Disposition": "sample string 2",
"ShrinkTabGuid": "2054a8e4-18f2-45ee-a2d0-ea7daaf0812f"
},
{
"Disposition": "sample string 2",
"ShrinkTabGuid": "2054a8e4-18f2-45ee-a2d0-ea7daaf0812f"
}
],
"GrPaperclipDefDocks": [
{
"Disposition": "sample string 2",
"GrDockTabGuid": "460327d6-250f-46bc-8946-6756e1e10cdd"
},
{
"Disposition": "sample string 2",
"GrDockTabGuid": "460327d6-250f-46bc-8946-6756e1e10cdd"
}
],
"GrPaperclipDefDryings": [
{
"Disposition": "sample string 2",
"PdTabGuid": "f82343c4-dfe3-436c-9952-f47ae25c0b4c"
},
{
"Disposition": "sample string 2",
"PdTabGuid": "f82343c4-dfe3-436c-9952-f47ae25c0b4c"
}
],
"GrPaperclipDefPremDiscs": [
{
"PdTabGuid": "f3575eb7-de0e-4c25-957c-237f342deb90"
},
{
"PdTabGuid": "f3575eb7-de0e-4c25-957c-237f342deb90"
}
],
"GrPaperclipDefFrtCharges": [
{
"FreightVendorGuid": "1cae3c9d-8132-4e20-b29d-53c4482f22bf",
"Rate": 3.1
},
{
"FreightVendorGuid": "1cae3c9d-8132-4e20-b29d-53c4482f22bf",
"Rate": 3.1
}
],
"GrPaperclipComments": [
{
"CommDate": "sample string 2",
"Comment": "sample string 3"
},
{
"CommDate": "sample string 2",
"Comment": "sample string 3"
}
],
"GRPaperclipDefCustContOverride": [
{
"CustomerGuid": "8106b1f2-2f1c-4598-b922-9ae4acb63559",
"Disposition": "sample string 2"
},
{
"CustomerGuid": "8106b1f2-2f1c-4598-b922-9ae4acb63559",
"Disposition": "sample string 2"
}
]
}
application/xml, text/xml
<ClsGrPaperclip.ClsGrPaperclipAdd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SKY.Core.Grain">
<CommodityGuid>48379170-6023-47cc-b72c-3c09fba8a869</CommodityGuid>
<CropSeason>sample string 5</CropSeason>
<DateEstablished>sample string 4</DateEstablished>
<DefaultCashPrice>1.1</DefaultCashPrice>
<FarmGuid>5616e202-4f8c-4dc4-8431-7bc93b84c040</FarmGuid>
<FieldGuid>0667ae51-90a0-43ba-8057-f394e52cb088</FieldGuid>
<GRPaperclipDefCustContOverride>
<ClsGrPaperclip.ClsGrPaperclipAdd.ClsGRPaperclipDefCustContOverrideAdd>
<CustomerGuid>8106b1f2-2f1c-4598-b922-9ae4acb63559</CustomerGuid>
<Disposition>sample string 2</Disposition>
</ClsGrPaperclip.ClsGrPaperclipAdd.ClsGRPaperclipDefCustContOverrideAdd>
<ClsGrPaperclip.ClsGrPaperclipAdd.ClsGRPaperclipDefCustContOverrideAdd>
<CustomerGuid>8106b1f2-2f1c-4598-b922-9ae4acb63559</CustomerGuid>
<Disposition>sample string 2</Disposition>
</ClsGrPaperclip.ClsGrPaperclipAdd.ClsGRPaperclipDefCustContOverrideAdd>
</GRPaperclipDefCustContOverride>
<GrPaperclipComments>
<ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipCommentAdd>
<CommDate>sample string 2</CommDate>
<Comment>sample string 3</Comment>
</ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipCommentAdd>
<ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipCommentAdd>
<CommDate>sample string 2</CommDate>
<Comment>sample string 3</Comment>
</ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipCommentAdd>
</GrPaperclipComments>
<GrPaperclipDefDocks>
<ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefDockAdd>
<Disposition>sample string 2</Disposition>
<GrDockTabGuid>460327d6-250f-46bc-8946-6756e1e10cdd</GrDockTabGuid>
</ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefDockAdd>
<ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefDockAdd>
<Disposition>sample string 2</Disposition>
<GrDockTabGuid>460327d6-250f-46bc-8946-6756e1e10cdd</GrDockTabGuid>
</ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefDockAdd>
</GrPaperclipDefDocks>
<GrPaperclipDefDryings>
<ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefDryingAdd>
<Disposition>sample string 2</Disposition>
<PdTabGuid>f82343c4-dfe3-436c-9952-f47ae25c0b4c</PdTabGuid>
</ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefDryingAdd>
<ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefDryingAdd>
<Disposition>sample string 2</Disposition>
<PdTabGuid>f82343c4-dfe3-436c-9952-f47ae25c0b4c</PdTabGuid>
</ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefDryingAdd>
</GrPaperclipDefDryings>
<GrPaperclipDefFrtCharges>
<ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefFrtChargesAdd>
<FreightVendorGuid>1cae3c9d-8132-4e20-b29d-53c4482f22bf</FreightVendorGuid>
<Rate>3.1</Rate>
</ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefFrtChargesAdd>
<ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefFrtChargesAdd>
<FreightVendorGuid>1cae3c9d-8132-4e20-b29d-53c4482f22bf</FreightVendorGuid>
<Rate>3.1</Rate>
</ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefFrtChargesAdd>
</GrPaperclipDefFrtCharges>
<GrPaperclipDefPremDiscs>
<ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefPremDiscAdd>
<PdTabGuid>f3575eb7-de0e-4c25-957c-237f342deb90</PdTabGuid>
</ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefPremDiscAdd>
<ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefPremDiscAdd>
<PdTabGuid>f3575eb7-de0e-4c25-957c-237f342deb90</PdTabGuid>
</ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefPremDiscAdd>
</GrPaperclipDefPremDiscs>
<GrPaperclipDefShrinks>
<ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefShrinkAdd>
<Disposition>sample string 2</Disposition>
<ShrinkTabGuid>2054a8e4-18f2-45ee-a2d0-ea7daaf0812f</ShrinkTabGuid>
</ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefShrinkAdd>
<ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefShrinkAdd>
<Disposition>sample string 2</Disposition>
<ShrinkTabGuid>2054a8e4-18f2-45ee-a2d0-ea7daaf0812f</ShrinkTabGuid>
</ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefShrinkAdd>
</GrPaperclipDefShrinks>
<GrPaperclipDefSplits>
<ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefSplitsAdd>
<ChargeScheduleGuid>9d23b3cd-4367-4076-8573-b9c0557ff0a5</ChargeScheduleGuid>
<CondoYn>true</CondoYn>
<CustomerGuid>09f09a03-425a-480c-86c1-765a248b1fb1</CustomerGuid>
<Disposition>sample string 3</Disposition>
<FreightPercent>1.1</FreightPercent>
<PurchaseContractGuid>c7f810f4-2e55-41f4-91e8-4556245b9e7e</PurchaseContractGuid>
<SplitPercent>1.1</SplitPercent>
</ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefSplitsAdd>
<ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefSplitsAdd>
<ChargeScheduleGuid>9d23b3cd-4367-4076-8573-b9c0557ff0a5</ChargeScheduleGuid>
<CondoYn>true</CondoYn>
<CustomerGuid>09f09a03-425a-480c-86c1-765a248b1fb1</CustomerGuid>
<Disposition>sample string 3</Disposition>
<FreightPercent>1.1</FreightPercent>
<PurchaseContractGuid>c7f810f4-2e55-41f4-91e8-4556245b9e7e</PurchaseContractGuid>
<SplitPercent>1.1</SplitPercent>
</ClsGrPaperclip.ClsGrPaperclipAdd.ClsGrPaperclipDefSplitsAdd>
</GrPaperclipDefSplits>
<LocationGuid>6f6a64b4-afb9-4711-98f8-f38b3f49755f</LocationGuid>
<LotNumber>sample string 6</LotNumber>
<PaperclipId>sample string 1</PaperclipId>
<UnavailableForSelection>true</UnavailableForSelection>
</ClsGrPaperclip.ClsGrPaperclipAdd>
application/x-www-form-urlencoded
Response Information
Resource Description
Create an Assembly for STLM ONLY
AgvPaperClip| Name | Description | Type | Additional Information |
|---|---|---|---|
| Status |
Status of the API call. |
string | |
| Message |
Message of the API call. |
string | |
| ErrorList |
List of Error Messages returned by the api |
Collection of string | |
| WarningList |
List of Warning Messages returned by the api |
Collection of string | |
| Count |
Number of results returned |
string | |
| Data | Collection of ClsGrPaperClipAPI |
Response Formats
application/json, text/json
{
"Status": "sample string 1",
"Message": "sample string 2",
"ErrorList": [
"sample string 1",
"sample string 2"
],
"WarningList": [
"sample string 1",
"sample string 2"
],
"Count": "2",
"Data": [
{
"PaperClipId": "sample string 1",
"LocationId": "sample string 2",
"PaperClipGuid": "b7811d4c-bbaf-4805-9500-34032fd965fc"
},
{
"PaperClipId": "sample string 1",
"LocationId": "sample string 2",
"PaperClipGuid": "b7811d4c-bbaf-4805-9500-34032fd965fc"
}
]
}
application/xml, text/xml
<AgvPaperClip xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.PaperClip">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/SKY.Core.Grain">
<d2p1:ClsGrPaperclip.ClsGrPaperClipAPI>
<d2p1:LocationId>sample string 2</d2p1:LocationId>
<d2p1:PaperClipGuid>b7811d4c-bbaf-4805-9500-34032fd965fc</d2p1:PaperClipGuid>
<d2p1:PaperClipId>sample string 1</d2p1:PaperClipId>
</d2p1:ClsGrPaperclip.ClsGrPaperClipAPI>
<d2p1:ClsGrPaperclip.ClsGrPaperClipAPI>
<d2p1:LocationId>sample string 2</d2p1:LocationId>
<d2p1:PaperClipGuid>b7811d4c-bbaf-4805-9500-34032fd965fc</d2p1:PaperClipGuid>
<d2p1:PaperClipId>sample string 1</d2p1:PaperClipId>
</d2p1:ClsGrPaperclip.ClsGrPaperClipAPI>
</Data>
<ErrorList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ErrorList>
<Message>sample string 2</Message>
<Status>sample string 1</Status>
<WarningList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</WarningList>
</AgvPaperClip>