digitaluapi

<back to all web services

CustomersSegmentsAutoQueryEdit

The following routes are available for this service:
PUT/auto/customerssegments/{Id}

export class CustomersSegments
{
    // @DataMember(Order=1)
    // @Required()
    public Id: number;

    // @DataMember(Order=2)
    // @Required()
    // @References("typeof(digitaluapi.ServiceModel.Types.Tenants)")
    public TenantsId: number;

    // @DataMember(Order=3)
    // @Required()
    // @References("typeof(digitaluapi.ServiceModel.Types.Customers)")
    public CustomersId: number;

    // @DataMember(Order=4)
    // @Required()
    // @References("typeof(digitaluapi.ServiceModel.Types.Segments)")
    public SegmentsId: number;

    // @DataMember(Order=5)
    // @Required()
    public PublicAccessGuid: string;

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

export class CustomersSegmentsAutoQueryEdit extends CustomersSegments implements IUpdateDb<CustomersSegments>
{

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

TypeScript CustomersSegmentsAutoQueryEdit DTOs

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

HTTP + OTHER

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

PUT /auto/customerssegments/{Id} HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"Id":0,"TenantsId":0,"CustomersId":0,"SegmentsId":0,"PublicAccessGuid":"00000000000000000000000000000000"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Id":0,"TenantsId":0,"CustomersId":0,"SegmentsId":0,"PublicAccessGuid":"00000000000000000000000000000000"}