POST api/VendorQuote/CreateQuote?username={username}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| username | string |
Required |
Body Parameters
VendorQuoteCreateRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Title | string |
None. |
|
| VendorId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| CustomerAddressId | integer |
None. |
|
| SalesPersonId | integer |
None. |
|
| QuotedByEmployeeId | integer |
None. |
|
| Notes | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Title": "sample string 1",
"VendorId": 2,
"CustomerId": 1,
"CustomerAddressId": 1,
"SalesPersonId": 3,
"QuotedByEmployeeId": 1,
"Notes": "sample string 4"
}
application/xml, text/xml
Sample:
<VendorQuoteCreateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoHarrellsAPI.Models"> <CustomerAddressId>1</CustomerAddressId> <CustomerId>1</CustomerId> <Notes>sample string 4</Notes> <QuotedByEmployeeId>1</QuotedByEmployeeId> <SalesPersonId>3</SalesPersonId> <Title>sample string 1</Title> <VendorId>2</VendorId> </VendorQuoteCreateRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>