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 .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 /references/{CompanyId}/{OwnerId}/{ReferenceType} HTTP/1.1 
Host: testapi.bokamera.se 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
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"}}}