POST | /delete/ |
---|
export class ReturnStatus
{
public ReturnCode: string;
public Message: string;
public constructor(init?: Partial<ReturnStatus>) { (Object as any).assign(this, init); }
}
export class DeleteResponse
{
public Status: ReturnStatus;
public constructor(init?: Partial<DeleteResponse>) { (Object as any).assign(this, init); }
}
export class Delete
{
public CiamId: string;
public FirstName: string;
public LastName: string;
public EmailAddress: string;
public MobileTelephoneNumber: string;
public constructor(init?: Partial<Delete>) { (Object as any).assign(this, init); }
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /delete/ HTTP/1.1
Host: webservices.mbukdatabase.co.uk
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"CiamId":"String","FirstName":"String","LastName":"String","EmailAddress":"String","MobileTelephoneNumber":"String"}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"Status":{"ReturnCode":"String","Message":"String"}}