| All Verbs | /api/updateobjectsubscription |
|---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Eros.Subtle.Canvara.WebAPIModel.ServiceModel
Imports Eros.Causal.Common.Entity
Namespace Global
Namespace Eros.Causal.Common.Entity
Public Partial Class ObjectSubscription
Public Overridable Property ObjectSubscriptionId As Guid?
Public Overridable Property ObjectId As Guid
Public Overridable Property SuiteDataSourceInstanceId As Guid
Public Overridable Property RmsTableContextId As Guid
Public Overridable Property AlternateKey As String
Public Overridable Property SuiteDataSourceName As String
Public Overridable Property CreatedAt As Date
Public Overridable Property LastModified As Date?
Public Overridable Property RecordStatus As String
Public Overridable Property SuiteInstanceId As Guid
Public Overridable Property SuiteInstanceName As String
Public Overridable Property ContactIdLicensee As Guid
Public Overridable Property SubscriptionUpdateResultId As Guid?
Public Overridable Property SubscriptionUpdateResult As String
Public Overridable Property IsExport As Boolean?
Public Overridable Property ProcessedAt As Date?
Public Overridable Property AcknowledgedAt As Date?
Public Overridable Property Failures As Integer
Public Overridable Property Result As String
Public Overridable Property ObjectHash As String
End Class
End Namespace
Namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel
Public Partial Class ObjectSubscriptionResponse
Public Overridable Property Success As Boolean
Public Overridable Property Message As String
Public Overridable Property ResponseStatus As ResponseStatus
End Class
'''<Summary>
'''Updates an existing object subscription record
'''</Summary>
<Api(Description:="Updates an existing object subscription record")>
Public Partial Class UpdateObjectSubscription
Public Overridable Property ObjectSubscription As ObjectSubscription
End Class
End Namespace
End Namespace
VB.NET UpdateObjectSubscription DTOs
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 /api/updateobjectsubscription HTTP/1.1
Host: pfapi.pstpf.com.au
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"ObjectSubscription":{"ObjectSubscriptionId":"00000000000000000000000000000000","ObjectId":"00000000-0000-0000-0000-000000000000","SuiteDataSourceInstanceId":"00000000-0000-0000-0000-000000000000","RmsTableContextId":"00000000-0000-0000-0000-000000000000","AlternateKey":"String","SuiteDataSourceName":"String","CreatedAt":"0001-01-01T00:00:00.0000000","LastModified":"0001-01-01T00:00:00.0000000","RecordStatus":"String","SuiteInstanceId":"00000000-0000-0000-0000-000000000000","SuiteInstanceName":"String","ContactIdLicensee":"00000000-0000-0000-0000-000000000000","SubscriptionUpdateResultId":"00000000000000000000000000000000","SubscriptionUpdateResult":"String","IsExport":false,"ProcessedAt":"0001-01-01T00:00:00.0000000","AcknowledgedAt":"0001-01-01T00:00:00.0000000","Failures":0,"Result":"String","ObjectHash":"String"}}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Success":false,"Message":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}