| PUT | /auto/customerssegments/{Id} |
|---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports digitaluapi.ServiceModel
Imports digitaluapi.ServiceModel.Types
Namespace Global
Namespace digitaluapi.ServiceModel
Public Partial Class CustomersSegmentsAutoQueryEdit
Inherits CustomersSegments
Implements IUpdateDb(Of CustomersSegments)
End Class
End Namespace
Namespace digitaluapi.ServiceModel.Types
Public Partial Class CustomersSegments
<DataMember(Order:=1)>
<Required>
Public Overridable Property Id As Long
<DataMember(Order:=2)>
<Required>
<References(GetType(Tenants))>
Public Overridable Property TenantsId As Long
<DataMember(Order:=3)>
<Required>
<References(GetType(Customers))>
Public Overridable Property CustomersId As Long
<DataMember(Order:=4)>
<Required>
<References(GetType(Segments))>
Public Overridable Property SegmentsId As Long
<DataMember(Order:=5)>
<Required>
Public Overridable Property PublicAccessGuid As Guid
End Class
End Namespace
End Namespace
VB.NET CustomersSegmentsAutoQueryEdit DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=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"}