PUT MapInterface/PutAgvanceMappingGrowerData
Updates the Agvance Customer Mapping Cross Reference
Request Information
URI Parameters
Body Parameters
The model for the Updating of an Agvance Customer.
ClsCustomerPut| Name | Description | Type | Additional Information |
|---|---|---|---|
| AgvanceGuid |
The Agvance GUID of the customer to update - if provided, the AgvanceGUID will be used to find the customer |
globally unique identifier |
(Hexadecimal 8-4-4-4-12) |
| OracleId |
Oracle ID of the customer to update - if the AgvanceGuid is not provided, the OracleID will be used to find the customer |
string |
Max length: 15 |
| MappingGuid |
The Mapping GUID of the customer to cross reference to the Agvance customer |
globally unique identifier |
(Hexadecimal 8-4-4-4-12) |
Request Formats
application/json, text/json
{
"AgvanceGuid": "89f9339f-259e-4ea0-b837-1ffd9465d90f",
"OracleId": "sample string 1",
"MappingGuid": "ba55abc2-4d8e-49c2-bb30-d4fb156fbfac"
}
application/xml, text/xml
<ClsCustomerPut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SKY.Core.Interfaces.HAAS.Model"> <AgvanceGuid>89f9339f-259e-4ea0-b837-1ffd9465d90f</AgvanceGuid> <MappingGuid>ba55abc2-4d8e-49c2-bb30-d4fb156fbfac</MappingGuid> <OracleId>sample string 1</OracleId> </ClsCustomerPut>
application/x-www-form-urlencoded
Response Information
Resource Description
Updates the Agvance Customer Mapping Cross Reference
AgvMapInterfaceGrower| Name | Description | Type | Additional Information |
|---|---|---|---|
| Status |
0 - Success; 1 - An error occurred; 2 - An error occurred; 3 - Descriptive message, process was successful |
string | |
| Message |
Informational message that corresponds to the Status returned; 0 - Message will be "OK"; 1 - Detailed message returned to give user an indication of what went wrong; 2 - Less detailed message returned that may not mean anything to the user but that the application might use to take a corrective action; 3 - Not an error but something the user might need to know |
string | |
| Count |
Number of results returned |
string | |
| GrowerList |
List of properties and values returned for each customer that matches the request |
Collection of ClsCustomerGet |
Response Formats
application/json, text/json
{
"Status": "sample string 1",
"Message": "sample string 2",
"Count": "2",
"GrowerList": [
{
"AgvanceGuid": "490891b0-987a-47ba-9f60-550f3839a236",
"GrowerId": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"GrowerName": "sample string 3 sample string 4",
"OracleId": "sample string 5",
"MappingGuid": "24af493e-f694-41c4-9f81-49d245fed88d",
"Inactive": true,
"Address1": "sample string 7",
"Address2": "sample string 8",
"Address3": "sample string 9",
"City": "sample string 10",
"State": "sample string 11",
"Zip": "sample string 12",
"Phone1": "sample string 13",
"Phone2": "sample string 14",
"SalesPersonId": "sample string 15",
"SalesPersonFirstName": "sample string 16",
"SalesPersonLastName": "sample string 17",
"AlternateCustomerIDSelecting": "sample string 18",
"LocationId": "sample string 19",
"LocationName": "sample string 20",
"BillToShipToAddresses": [
{
"AddressType": "sample string 1",
"Address1": "sample string 2",
"Address2": "sample string 3",
"Address3": "sample string 4",
"Address4": "sample string 5",
"City": "sample string 6",
"State": "sample string 7",
"Zip": "sample string 8",
"Inactive": true,
"PrimaryAddress": true,
"SalesPersonId": "sample string 11",
"SalesPersonFirstName": "sample string 12",
"SalesPersonLastName": "sample string 13"
},
{
"AddressType": "sample string 1",
"Address1": "sample string 2",
"Address2": "sample string 3",
"Address3": "sample string 4",
"Address4": "sample string 5",
"City": "sample string 6",
"State": "sample string 7",
"Zip": "sample string 8",
"Inactive": true,
"PrimaryAddress": true,
"SalesPersonId": "sample string 11",
"SalesPersonFirstName": "sample string 12",
"SalesPersonLastName": "sample string 13"
}
]
},
{
"AgvanceGuid": "490891b0-987a-47ba-9f60-550f3839a236",
"GrowerId": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"GrowerName": "sample string 3 sample string 4",
"OracleId": "sample string 5",
"MappingGuid": "24af493e-f694-41c4-9f81-49d245fed88d",
"Inactive": true,
"Address1": "sample string 7",
"Address2": "sample string 8",
"Address3": "sample string 9",
"City": "sample string 10",
"State": "sample string 11",
"Zip": "sample string 12",
"Phone1": "sample string 13",
"Phone2": "sample string 14",
"SalesPersonId": "sample string 15",
"SalesPersonFirstName": "sample string 16",
"SalesPersonLastName": "sample string 17",
"AlternateCustomerIDSelecting": "sample string 18",
"LocationId": "sample string 19",
"LocationName": "sample string 20",
"BillToShipToAddresses": [
{
"AddressType": "sample string 1",
"Address1": "sample string 2",
"Address2": "sample string 3",
"Address3": "sample string 4",
"Address4": "sample string 5",
"City": "sample string 6",
"State": "sample string 7",
"Zip": "sample string 8",
"Inactive": true,
"PrimaryAddress": true,
"SalesPersonId": "sample string 11",
"SalesPersonFirstName": "sample string 12",
"SalesPersonLastName": "sample string 13"
},
{
"AddressType": "sample string 1",
"Address1": "sample string 2",
"Address2": "sample string 3",
"Address3": "sample string 4",
"Address4": "sample string 5",
"City": "sample string 6",
"State": "sample string 7",
"Zip": "sample string 8",
"Inactive": true,
"PrimaryAddress": true,
"SalesPersonId": "sample string 11",
"SalesPersonFirstName": "sample string 12",
"SalesPersonLastName": "sample string 13"
}
]
}
]
}