POST api/SharePet

Request Information

URI Parameters

None.

Body Parameters

SharedUserView
NameDescriptionTypeAdditional information
HostUserEmail

string

None.

UserEmail

string

None.

PetName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "HostUserEmail": "sample string 1",
  "UserEmail": "sample string 2",
  "PetName": "sample string 3"
}

application/xml, text/xml

Sample:
<SharedUserView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PhwareWebApi.Util">
  <HostUserEmail>sample string 1</HostUserEmail>
  <PetName>sample string 3</PetName>
  <UserEmail>sample string 2</UserEmail>
</SharedUserView>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>