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": "89051f02-6b3c-4a30-b3e6-bda85ed1f3de",
  "TemplateId": "918e7fa6-d3a8-4580-a8f4-9342b07945df",
  "OrgAppSyncName": "sample string 3",
  "SourceAppId": "5462660d-626b-4134-809a-4741ca2c4564",
  "SourceAppVersionId": "0db5aa4e-08c6-49ed-a9d2-7eec61d5e934",
  "SourceAppProtocol": [
    {
      "ProtocolId": 1,
      "IsDefault": true
    },
    {
      "ProtocolId": 1,
      "IsDefault": true
    }
  ],
  "OrgAppSyncId": "baccf0cd-2888-4e21-9067-a3a032ff70cd",
  "ReverseOrgAppSyncId": "4bd8be16-b017-44fc-8cc3-aff6d3ffaf66",
  "DestinationAppId": "82294d3e-a0be-48c4-8105-e3cb95b19c51",
  "DestinationAppVersionId": "23551a9d-8e7b-45b0-862d-889b0bd9cd67",
  "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.