POST api/InstitutionalSales
Request Information
URI Parameters
None.
Body Parameters
InstitutionalSalesSendModelsName | Description | Type | Additional information |
---|---|---|---|
ProductList | Collection of InstitutionalSalesModels |
Required |
|
OrganisationDetails | InstitutionalSalesOrganisationDetailsModels |
Required |
Request Formats
application/json, text/json
Sample:
{ "ProductList": [ { "P_Id": 1, "P_ProductCode": "sample string 2", "P_Name": "sample string 3", "P_Image1": "sample string 4", "P_LongDescription": "sample string 5", "Checked": true }, { "P_Id": 1, "P_ProductCode": "sample string 2", "P_Name": "sample string 3", "P_Image1": "sample string 4", "P_LongDescription": "sample string 5", "Checked": true } ], "OrganisationDetails": { "Organization": "sample string 1", "Address": "sample string 2", "Requirements": "sample string 3", "ContactPerson": "sample string 4", "PhoneNumber": "sample string 5", "Email": "sample string 6" } }
application/xml, text/xml
Sample:
<InstitutionalSalesSendModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <OrganisationDetails> <Address>sample string 2</Address> <ContactPerson>sample string 4</ContactPerson> <Email>sample string 6</Email> <Organization>sample string 1</Organization> <PhoneNumber>sample string 5</PhoneNumber> <Requirements>sample string 3</Requirements> </OrganisationDetails> <ProductList> <InstitutionalSalesModels> <Checked>true</Checked> <P_Id>1</P_Id> <P_Image1>sample string 4</P_Image1> <P_LongDescription>sample string 5</P_LongDescription> <P_Name>sample string 3</P_Name> <P_ProductCode>sample string 2</P_ProductCode> </InstitutionalSalesModels> <InstitutionalSalesModels> <Checked>true</Checked> <P_Id>1</P_Id> <P_Image1>sample string 4</P_Image1> <P_LongDescription>sample string 5</P_LongDescription> <P_Name>sample string 3</P_Name> <P_ProductCode>sample string 2</P_ProductCode> </InstitutionalSalesModels> </ProductList> </InstitutionalSalesSendModels>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.