Betting.WebApi

<back to all web services

ChangeOrganizationPatronIdentityPolicy

Requires Authentication
The following routes are available for this service:
POST/cmd/organizations/change/patron-identity-policy
// @ts-nocheck

export class PatronIdentityPolicy
{
    public required: boolean;

    public constructor(init?: Partial<PatronIdentityPolicy>) { (Object as any).assign(this, init); }
}

export class ChangeOrganizationPatronIdentityPolicy
{
    public id?: string;
    public patronIdentityPolicy?: PatronIdentityPolicy;

    public constructor(init?: Partial<ChangeOrganizationPatronIdentityPolicy>) { (Object as any).assign(this, init); }
}

TypeScript ChangeOrganizationPatronIdentityPolicy DTOs

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.

POST /cmd/organizations/change/patron-identity-policy HTTP/1.1 
Host: api.testenv.webhop.biz 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"id":"String","patronIdentityPolicy":{"required":false}}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}