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": "4f9cff90-1cdb-457a-8a36-cf869a353a82", "OracleId": "sample string 1", "MappingGuid": "c5047b79-7dcb-4c35-9be5-a02a78302551" }
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>4f9cff90-1cdb-457a-8a36-cf869a353a82</AgvanceGuid> <MappingGuid>c5047b79-7dcb-4c35-9be5-a02a78302551</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": "80e5b497-3f76-46b3-910e-c39929072b78", "GrowerId": "sample string 2", "FirstName": "sample string 3", "LastName": "sample string 4", "GrowerName": "sample string 3 sample string 4", "OracleId": "sample string 5", "MappingGuid": "1d416b0c-d6cb-45e2-a0bb-5d703e173991", "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": "80e5b497-3f76-46b3-910e-c39929072b78", "GrowerId": "sample string 2", "FirstName": "sample string 3", "LastName": "sample string 4", "GrowerName": "sample string 3 sample string 4", "OracleId": "sample string 5", "MappingGuid": "1d416b0c-d6cb-45e2-a0bb-5d703e173991", "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" } ] } ] }