| All Verbs | /api/contactgroups/updatecontactgrouporder |
|---|
namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type StringResponse() =
member val Result:String = null with get,set
///<summary>
///Update the order of contacts in the specified contact group
///</summary>
[<Api(Description="Update the order of contacts in the specified contact group")>]
[<AllowNullLiteral>]
type UpdateContactGroupOrder() =
///<summary>
///Connection of contact to update index in the group
///</summary>
[<ApiMember(Description="Connection of contact to update index in the group", Name="ContactGroupConnectionId")>]
member val ContactGroupConnectionId:Guid = new Guid() with get,set
///<summary>
///The index of the contact in the group
///</summary>
[<ApiMember(Description="The index of the contact in the group", Name="Index")>]
member val Index:Int32 = new Int32() with get,set
F# UpdateContactGroupOrder 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.
POST /api/contactgroups/updatecontactgrouporder HTTP/1.1
Host: pfapi.pstpf.com.au
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"ContactGroupConnectionId":"00000000-0000-0000-0000-000000000000","Index":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Result":"String"}