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": "ea1a786b-3271-4d9d-922a-7880910abd07",
  "TemplateId": "3172b848-ac7b-4b07-ac33-a5106a3dbfbc",
  "OrgAppSyncName": "sample string 3",
  "SourceAppId": "d611a704-644b-4ea2-9f9a-47ad36c8fdbd",
  "SourceAppVersionId": "f5f5dd03-c49a-4907-bda0-54366a9e55b2",
  "SourceAppProtocol": [
    {
      "ProtocolId": 1,
      "IsDefault": true
    },
    {
      "ProtocolId": 1,
      "IsDefault": true
    }
  ],
  "OrgAppSyncId": "6bc98f4f-35cb-4ca0-a582-8715306b60b7",
  "ReverseOrgAppSyncId": "a1259cc3-5d12-427a-92b1-fd5526c5c1f5",
  "DestinationAppId": "8b041d0e-0316-4754-8d05-fff57bc9d42f",
  "DestinationAppVersionId": "a1895a58-059f-4e17-be41-a3c397dbef98",
  "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.