BokaMera.API.Host

<back to all web services

DeleteReferenceWithReferenceType

The following routes are available for this service:
DELETE/references/{CompanyId}/{OwnerId}/{ReferenceType}Delete a reference with the reference typeDelete a reference
DeleteReferenceWithReferenceType Parameters:
NameParameterData TypeRequiredDescription
CompanyIdpathGuidYesThe company id
OwnerIdpathGuidNoInternal Id of the reference. Example could be the Booking Id
ReferenceTypepathstringYesReference type of the reference
ReferenceQueryResponse Parameters:
NameParameterData TypeRequiredDescription
CompanyIdformGuidNo
IdformGuidNo
OwnerIdformGuidNo
ReferenceTypeformstringYes
ReferenceTypeIdformintNo
ExternalDataformstringYes
UpdatedformDateTimeNo
CreatedformDateTimeNo
CreatedByformstringYes
UpdatedByformstringYes
ResponseStatusformResponseStatusYes

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

HTTP + CSV

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

DELETE /references/{CompanyId}/{OwnerId}/{ReferenceType} HTTP/1.1 
Host: api.bokamera.se 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ReferenceType":"String","ReferenceTypeId":0,"ExternalData":"String","CreatedBy":"String","UpdatedBy":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}