POST UtilitiesAPI/AddActivity

Request Information

URI Parameters

None.

Body Parameters

Utility
NameDescriptionTypeAdditional information
Activity

string

None.

PageURL

string

None.

FullName

string

None.

UserName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Activity": "sample string 1",
  "PageURL": "sample string 2",
  "FullName": "sample string 3",
  "UserName": "sample string 4"
}

application/xml, text/xml

Sample:
<Utility xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMA2020.Models">
  <Activity>sample string 1</Activity>
  <FullName>sample string 3</FullName>
  <PageURL>sample string 2</PageURL>
  <UserName>sample string 4</UserName>
</Utility>

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 'Utility'.

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>