POST api/v2/profiles/publish

Request Information

URI Parameters

None.

Body Parameters

ProfileModel
NameDescriptionTypeAdditional information
Id

integer

None.

ApplicationName

string

None.

ApplicationId

integer

None.

ProfileId

integer

None.

Version

string

None.

UniqueName

string

None.

PlatformTypeName

string

None.

LastSendDateTimeUtc

date

None.

IsActive

boolean

None.

FileSize

integer

None.

ReleaseNote

string

None.

ProfileFiles

Collection of FileWithIdModel

None.

IconUrl

string

None.

ProfileMembers

Collection of ProfileMemberModel

None.

FileName

string

None.

UpdateDateTimeUtc

date

None.

UploadDateTimeUtc

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ApplicationName": "sample string 2",
  "ApplicationId": 3,
  "ProfileId": 4,
  "Version": "sample string 5",
  "UniqueName": "sample string 6",
  "PlatformTypeName": "sample string 7",
  "LastSendDateTimeUtc": "2022-08-14T20:50:45.2906056+00:00",
  "IsActive": true,
  "FileSize": 9,
  "ReleaseNote": "sample string 10",
  "ProfileFiles": [
    {
      "$id": "2",
      "Id": 1,
      "Category": "sample string 2",
      "Name": "sample string 3",
      "Extension": "sample string 4",
      "Length": 5,
      "CreateDate": "2022-08-14T20:50:45.3062413+00:00",
      "CreateUtcDate": "2022-08-14T20:50:45.3062413+00:00",
      "LastAccessDate": "2022-08-14T20:50:45.3062413+00:00",
      "LastAccessUtcDate": "2022-08-14T20:50:45.3062413+00:00",
      "AttributeId": 1,
      "Data": "QEA="
    },
    {
      "$ref": "2"
    }
  ],
  "IconUrl": "sample string 11",
  "ProfileMembers": [
    {
      "$id": "3",
      "Id": 1,
      "ProfileId": 2,
      "MemberId": 1,
      "ShareMemberStatus": 0,
      "LastShareDateTimeUtc": "2022-08-14T20:50:45.3062413+00:00",
      "IsDeleted": "9dc99330-fcf1-4d5e-9899-c65d3e8d0e55",
      "Profile": {
        "$ref": "1"
      },
      "Member": {
        "$id": "4",
        "Id": 1,
        "Name": "sample string 2",
        "Email": "sample string 3",
        "TeamMembers": [
          {
            "$id": "5",
            "TeamId": 1,
            "MemberId": 2,
            "Team": {
              "$id": "6",
              "Id": 1,
              "Name": "sample string 2",
              "OwnerId": 3,
              "Ungrouped": true,
              "TeamMembers": [
                {
                  "$ref": "5"
                },
                {
                  "$ref": "5"
                }
              ]
            },
            "Member": {
              "$ref": "4"
            }
          },
          {
            "$ref": "5"
          }
        ]
      },
      "Version": "sample string 3",
      "ProfileDownloadHistories": [
        {
          "$id": "7",
          "Id": 1,
          "ProfileMemberId": 2,
          "LinkId": 3,
          "DeviceId": 1,
          "DeviceInfo": "sample string 4",
          "CreateDateTimeUtc": "2022-08-14T20:50:45.3062413+00:00",
          "ProfileMemberModel": {
            "$ref": "3"
          },
          "Link": {
            "$id": "8",
            "Id": 1,
            "ProfileMemberId": 1,
            "Path": "sample string 2",
            "ShortPath": "sample string 3",
            "ExpiredDateTime": "2022-08-14T20:50:45.3062413+00:00",
            "IsActive": true,
            "ProfileMember": {
              "$ref": "3"
            }
          }
        },
        {
          "$ref": "7"
        }
      ]
    },
    {
      "$ref": "3"
    }
  ],
  "FileName": "sample string 12",
  "UpdateDateTimeUtc": "2022-08-14T20:50:45.3062413+00:00",
  "UploadDateTimeUtc": "2022-08-14T20:50:45.3062413+00:00"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

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.