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.
ClsCustomerPutName | 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": "1ef24ac0-a510-4b2d-9bb8-8d9b4f38adbd", "OracleId": "sample string 1", "MappingGuid": "82bd0032-5cbb-4a52-ad73-b986699aa832" }
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>1ef24ac0-a510-4b2d-9bb8-8d9b4f38adbd</AgvanceGuid> <MappingGuid>82bd0032-5cbb-4a52-ad73-b986699aa832</MappingGuid> <OracleId>sample string 1</OracleId> </ClsCustomerPut>
application/x-www-form-urlencoded
Response Information
Resource Description
Updates the Agvance Customer Mapping Cross Reference
AgvMapInterfaceGrowerName | 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": "9b116782-e543-427a-95d6-6530269d3253", "GrowerId": "sample string 2", "FirstName": "sample string 3", "LastName": "sample string 4", "GrowerName": "sample string 3 sample string 4", "OracleId": "sample string 5", "MappingGuid": "216a19c1-1b79-46c2-ac1a-21f05a49d9ff", "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", "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": "9b116782-e543-427a-95d6-6530269d3253", "GrowerId": "sample string 2", "FirstName": "sample string 3", "LastName": "sample string 4", "GrowerName": "sample string 3 sample string 4", "OracleId": "sample string 5", "MappingGuid": "216a19c1-1b79-46c2-ac1a-21f05a49d9ff", "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", "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" } ] } ] }