POST api/Performance/AddPerformanceTiming

Add performance timing

Remarks

Note that this function does not generate a performance entry

Request Information

URI Parameters

None.

Body Parameters

contains information about network and client timings

AddPerformanceArgumentModel
NameDescriptionTypeAdditional information
CombinedPerformanceId

Gets or sets the combined performance id you originally received from the server

string

None.

ClientTime

Gets or sets the time spent in client script excluding time spent waiting for server responses

integer

None.

TotalTime

Gets or sets the total time spent including time spent waiting for server response

integer

None.

TicketId

Gets or sets the ticket id

string

None.

Culture

Gets or sets culture, if not specified we will use culture set on user.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CombinedPerformanceId": "sample string 1",
  "ClientTime": 2,
  "TotalTime": 3,
  "TicketId": "sample string 4",
  "Culture": "sample string 5"
}

application/xml, text/xml

Sample:
<PerformanceController.AddPerformanceArgumentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rostov.Controllers">
  <Culture xmlns="http://schemas.datacontract.org/2004/07/Rostov.Models">sample string 5</Culture>
  <TicketId xmlns="http://schemas.datacontract.org/2004/07/Rostov.Models">sample string 4</TicketId>
  <ClientTime>2</ClientTime>
  <CombinedPerformanceId>sample string 1</CombinedPerformanceId>
  <TotalTime>3</TotalTime>
</PerformanceController.AddPerformanceArgumentModel>

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

Response Information

Resource Description

None.