POST api/v1/user/save

Request Information

URI Parameters

None.

Body Parameters

GoViralUser
NameDescriptionTypeAdditional information
Diply

DiplyProperties

None.

DiplyWriterProperties

GoviralWriterUserProperties

None.

id

string

None.

Environment

string

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Diply": {
    "Username": "sample string 1",
    "LegacyId": "sample string 2",
    "LegacyStatus": 0,
    "ProfilePicture": "sample string 3",
    "ProfileCover": "sample string 4",
    "EmailAddress": "sample string 5",
    "EnableNotifications": true,
    "AvatarUrl": "sample string 7",
    "CoverUrl": "sample string 8",
    "AvatarImageFile": null,
    "CoverImageFile": null,
    "Flags": 9,
    "IsVerified": false,
    "Links": {
      "Facebook": "sample string 1",
      "Twitter": "sample string 2",
      "Website": "sample string 3",
      "GooglePlus": "sample string 4",
      "Pinterest": "sample string 5"
    },
    "Bio": "sample string 10",
    "PublisherFollowList": [
      "sample string 1",
      "sample string 2"
    ],
    "Name": "sample string 11",
    "Language": "sample string 12"
  },
  "DiplyWriterProperties": {
    "AllowedPublications": [
      "sample string 1",
      "sample string 2"
    ]
  },
  "id": "sample string 1",
  "Environment": "sample string 2",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<GoViralUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoViral.Data.Models.Client">
  <Environment xmlns="http://schemas.datacontract.org/2004/07/GoViral.Data.DocumentDb">sample string 2</Environment>
  <Id xmlns="http://schemas.datacontract.org/2004/07/GoViral.Data.DocumentDb">sample string 1</Id>
  <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/GoViral.Data.DocumentDb">true</IsDeleted>
  <Diply>
    <AvatarImageFile xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" />
    <AvatarUrl>sample string 7</AvatarUrl>
    <Bio>sample string 10</Bio>
    <CoverImageFile xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" />
    <CoverUrl>sample string 8</CoverUrl>
    <EmailAddress>sample string 5</EmailAddress>
    <EnableNotifications>true</EnableNotifications>
    <Flags>9</Flags>
    <Language>sample string 12</Language>
    <LegacyId>sample string 2</LegacyId>
    <LegacyStatus>UsrNotDtm</LegacyStatus>
    <Links>
      <Facebook>sample string 1</Facebook>
      <GooglePlus>sample string 4</GooglePlus>
      <Pinterest>sample string 5</Pinterest>
      <Twitter>sample string 2</Twitter>
      <Website>sample string 3</Website>
    </Links>
    <Name>sample string 11</Name>
    <ProfileCover>sample string 4</ProfileCover>
    <ProfilePicture>sample string 3</ProfilePicture>
    <PublisherFollowList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </PublisherFollowList>
    <Username>sample string 1</Username>
  </Diply>
  <DiplyWriterProperties>
    <AllowedPublications xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </AllowedPublications>
  </DiplyWriterProperties>
</GoViralUser>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.