POST api/apporgsync/both

Request Information

URI Parameters

None.

Body Parameters

OrgAppSyncViewModelPost
NameDescriptionTypeAdditional information
OrgId

globally unique identifier

None.

TemplateId

globally unique identifier

None.

OrgAppSyncName

string

None.

SourceAppId

globally unique identifier

None.

SourceAppVersionId

globally unique identifier

None.

SourceAppProtocol

Collection of ProtocolPost

None.

OrgAppSyncId

globally unique identifier

None.

ReverseOrgAppSyncId

globally unique identifier

None.

DestinationAppId

globally unique identifier

None.

DestinationAppVersionId

globally unique identifier

None.

DestinationAppProtocol

Collection of ProtocolPost

None.

ActivePublish

boolean

None.

ActivateDefaultTouchpoints

boolean

None.

IsCloudSupported

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "OrgId": "ba9fe718-fc04-4395-b4d9-b959d00f34e5",
  "TemplateId": "98fe83e5-d156-42e9-9803-64fb8950a1f5",
  "OrgAppSyncName": "sample string 3",
  "SourceAppId": "0330f23a-5a90-4beb-9177-e10336078acb",
  "SourceAppVersionId": "d78220df-ab0f-4de8-b02a-780d8ac54bbd",
  "SourceAppProtocol": [
    {
      "ProtocolId": 1,
      "IsDefault": true
    },
    {
      "ProtocolId": 1,
      "IsDefault": true
    }
  ],
  "OrgAppSyncId": "891a8bd3-041c-4260-8cc7-61e2e362a8be",
  "ReverseOrgAppSyncId": "127995ee-d8ba-4380-af93-2b8530c3d499",
  "DestinationAppId": "7c0593c2-1c33-4be1-bb59-9f70448c04bb",
  "DestinationAppVersionId": "5eef103d-078a-4be2-b722-ae45f8d3d420",
  "DestinationAppProtocol": [
    {
      "ProtocolId": 1,
      "IsDefault": true
    },
    {
      "ProtocolId": 1,
      "IsDefault": true
    }
  ],
  "ActivePublish": true,
  "ActivateDefaultTouchpoints": true,
  "IsCloudSupported": true
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OrgAppSyncViewModelPost'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.