BokaMera.API.Host

<back to all web services

DeleteCompanyCommentSuperAdminUser

Requires Authentication
Required role:superadmin
The following routes are available for this service:
DELETE/superadmin/company/{CompanyId}/comments/{Id}Delete a comment.
DeleteCompanyCommentSuperAdminUser Parameters:
NameParameterData TypeRequiredDescription
CompanyIdqueryGuid?YesEnter the companyId for the customer
IdqueryintYes
CompanyCommentsResponse Parameters:
NameParameterData TypeRequiredDescription
CompanyIdformGuid?No
IdformintNo
CommentformstringYes
CommentTypeIdformCommentsTypeYes
CommentTypeformCommentsTypeResponseYes
UpdatedformDateTimeNoThe updated date
CreatedformDateTimeNoThe created date
CreatedByformstringNoThe created by
CommentsType Enum:
NameValue
NormalComment1
CallBackPhoneComment2
CallBackEmailComment3
CallBackMeetingBookedComment4
CallBackNotInterestedComment5
CommentsTypeResponse Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
DescriptionformstringNo

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

HTTP + JSV

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

DELETE /superadmin/company/{CompanyId}/comments/{Id} HTTP/1.1 
Host: testapi.bokamera.se 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	CompanyId: 00000000-0000-0000-0000-000000000000,
	Id: 0,
	Comment: String,
	CommentTypeId: NormalComment,
	CommentType: 
	{
		Id: 0,
		Name: String,
		Description: String
	},
	CreatedBy: String
}