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": "7efb7a11-6923-4210-b665-6771114b6be5",
"OracleId": "sample string 1",
"MappingGuid": "188528d7-57b4-44cf-8a64-97e506301ca9"
}
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>7efb7a11-6923-4210-b665-6771114b6be5</AgvanceGuid> <MappingGuid>188528d7-57b4-44cf-8a64-97e506301ca9</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": "f634e0b0-841a-43f2-a0d8-50abc57164cb",
"GrowerId": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"GrowerName": "sample string 3 sample string 4",
"OracleId": "sample string 5",
"MappingGuid": "e1713113-5d99-46ac-82c9-62217d99d1ab",
"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": "f634e0b0-841a-43f2-a0d8-50abc57164cb",
"GrowerId": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"GrowerName": "sample string 3 sample string 4",
"OracleId": "sample string 5",
"MappingGuid": "e1713113-5d99-46ac-82c9-62217d99d1ab",
"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"
}
]
}
]
}