Trendsic Platform Service

<back to all web services

DeleteQuoteRequest

Requires Authentication
The following routes are available for this service:
DELETE,OPTIONS/v1/quote/{QuoteID}
DeleteQuoteRequest Parameters:
NameParameterData TypeRequiredDescription
QuoteIDpathintNo
QuoteResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
QuoteformQuoteNo
Quote Parameters:
NameParameterData TypeRequiredDescription
QuoteIDformintNo
QuoteUIDformGuidNo
TenantIdformGuid?No
BranchIdformGuid?No
ProjectIDformintNo
ProjectUIDformGuid?No
ProjectNameformstringNo
NameformstringNo
StatusformstringNo
Totalformdecimal?No
NotesformstringNo
CurrencyformstringNo
FromNameformstringNo
FromPhoneformstringNo
FromEmailformstringNo
FromAddressformstringNo
ToNameformstringNo
ToPhoneformstringNo
ToEmailformstringNo
ToAddressformstringNo
ExpiresAtformDateTime?No
IsLockedformbool?No
FinalPriceAfterCompletionformbool?No
ApprovedByNameformstringNo
ApprovedAtformDateTime?No
DeclinedByNameformstringNo
DeclinedAtformDateTime?No
DeclineReasonformstringNo
CreatedByformstringNo
CreatedAtformDateTime?No
UpdatedByformstringNo
UpdatedAtformDateTime?No
ItemsformList<QuoteItem>No
QuoteItem Parameters:
NameParameterData TypeRequiredDescription
QuoteItemIDformintNo
QuoteIDformintNo
ItemTypeformstringNo
SourceRefIdformint?No
JobIDformint?No
NameformstringNo
DescriptionformstringNo
Quantityformdecimal?No
UnitPriceformdecimal?No
IsTaxableformbool?No
DisplayOrderformint?No
IsDeletedformbool?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

DELETE /v1/quote/{QuoteID} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Quote":{"QuoteID":0,"QuoteUID":"00000000000000000000000000000000","TenantId":"00000000000000000000000000000000","BranchId":"00000000000000000000000000000000","ProjectID":0,"ProjectUID":"00000000000000000000000000000000","ProjectName":"String","Name":"String","Status":"String","Total":0,"Notes":"String","Currency":"String","FromName":"String","FromPhone":"String","FromEmail":"String","FromAddress":"String","ToName":"String","ToPhone":"String","ToEmail":"String","ToAddress":"String","ExpiresAt":"0001-01-01T00:00:00.0000000","IsLocked":false,"FinalPriceAfterCompletion":false,"ApprovedByName":"String","ApprovedAt":"0001-01-01T00:00:00.0000000","DeclinedByName":"String","DeclinedAt":"0001-01-01T00:00:00.0000000","DeclineReason":"String","CreatedBy":"String","CreatedAt":"0001-01-01T00:00:00.0000000","UpdatedBy":"String","UpdatedAt":"0001-01-01T00:00:00.0000000","Items":[{"QuoteItemID":0,"QuoteID":0,"ItemType":"String","SourceRefId":0,"JobID":0,"Name":"String","Description":"String","Quantity":0,"UnitPrice":0,"IsTaxable":false,"DisplayOrder":0,"IsDeleted":false}]}}