POST MapInterface/PostAgvanceGrowersIntoSkyMappingPremium
Request Information
URI Parameters
Body Parameters
AddCustomerToSkyMappingPremiumSecurityModel| Name | Description | Type | Additional Information |
|---|---|---|---|
| AnswerToSecurityQuestion | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"AnswerToSecurityQuestion": "sample string 1"
}
application/xml, text/xml
Sample:
<AddCustomerToSkyMappingPremiumSecurityModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Map.HAAS"> <AnswerToSecurityQuestion>sample string 1</AnswerToSecurityQuestion> </AddCustomerToSkyMappingPremiumSecurityModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
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
Sample:
{
"Status": "sample string 1",
"Message": "sample string 2",
"Count": "2",
"GrowerList": [
{
"AgvanceGuid": "7caa3292-38a4-4b6f-a0a8-23cdda8ffb5c",
"GrowerId": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"GrowerName": "sample string 3 sample string 4",
"OracleId": "sample string 5",
"MappingGuid": "8813161b-63dc-461f-8d12-c454f2767468",
"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": "7caa3292-38a4-4b6f-a0a8-23cdda8ffb5c",
"GrowerId": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"GrowerName": "sample string 3 sample string 4",
"OracleId": "sample string 5",
"MappingGuid": "8813161b-63dc-461f-8d12-c454f2767468",
"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"
}
]
}
]
}
application/xml
Sample:
text/xml
Sample: