GET EmailPurchaseContract/GetPurchaseContractEmailAddresses?custID={custID}
Returns a an email address for the purchase contract grower.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
custID |
custID to get the email address. |
string |
Required |
Body Parameters
Response Information
Resource Description
Returns a an email address for the purchase contract grower.
AgvPurchaseContractEmailAddressName | Description | Type | Additional Information |
---|---|---|---|
Status |
Status of the API call. |
string | |
Message |
Message of the API call. |
string | |
Count |
Count of how many EmailData JSON dictionaries. |
string | |
EmailAddresses |
JSON dictionary of EmailData. |
Collection of EmailData |
Response Formats
application/json, text/json
Sample:
{ "Status": "sample string 1", "Message": "sample string 2", "Count": "sample string 3", "EmailAddresses": [ { "ID": "sample string 1", "Name": "sample string 2", "Email": "sample string 3" }, { "ID": "sample string 1", "Name": "sample string 2", "Email": "sample string 3" } ] }
application/xml, text/xml
Sample:
<AgvPurchaseContractEmailAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Contract.Purchase"> <Count>sample string 3</Count> <EmailAddresses xmlns:d2p1="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Inventory.SalesOrder"> <d2p1:EmailData> <d2p1:Email>sample string 3</d2p1:Email> <d2p1:ID>sample string 1</d2p1:ID> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:EmailData> <d2p1:EmailData> <d2p1:Email>sample string 3</d2p1:Email> <d2p1:ID>sample string 1</d2p1:ID> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:EmailData> </EmailAddresses> <Message>sample string 2</Message> <Status>sample string 1</Status> </AgvPurchaseContractEmailAddress>