﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Reference for  https://ip-ac121233:1903/StandardCostNormalizationCalculationService1.svc/CalculateNormalizationFactorsForUser</title>
    <style>BODY { color: #000000; background-color: white; font-family: Verdana; margin-left: 0px; margin-top: 0px; } #content { margin-left: 30px; font-size: .70em; padding-bottom: 2em; } A:link { color: #336699; font-weight: bold; text-decoration: underline; } A:visited { color: #6699cc; font-weight: bold; text-decoration: underline; } A:active { color: #336699; font-weight: bold; text-decoration: underline; } .heading1 { background-color: #003366; border-bottom: #336699 6px solid; color: #ffffff; font-family: Tahoma; font-size: 26px; font-weight: normal;margin: 0em 0em 10px -20px; padding-bottom: 8px; padding-left: 30px;padding-top: 16px;} pre { font-size:small; background-color: #e5e5cc; padding: 5px; font-family: Courier New; margin-top: 0px; border: 1px #f0f0e0 solid; white-space: pre-wrap; white-space: -pre-wrap; word-wrap: break-word; } table { border-collapse: collapse; border-spacing: 0px; font-family: Verdana;} table th { border-right: 2px white solid; border-bottom: 2px white solid; font-weight: bold; background-color: #cecf9c;} table td { border-right: 2px white solid; border-bottom: 2px white solid; background-color: #e5e5cc;}</style>
  </head>
  <body>
    <div id="content">
      <p class="heading1">Reference for  https://ip-ac121233:1903/StandardCostNormalizationCalculationService1.svc/CalculateNormalizationFactorsForUser</p>
      <p>Calculates the cost normalization factors for the specified user, using the specified date ranges.  The 'dataModificationDateRange' tells the calculator that it needs to provide updated normalization factors for all dates that may have been affected by changes to data in that date range.  For example, a time entry on Jan 15 may be the only change, but if we calculate normalization factors monthly, we will have to calculate and return the normalization factors for the entire month of January.  The 'calculatorEffectiveDateRange' is used to indicate the date range that this calculator is active based on user policy.  For example, in the previous example, if this calculator is only active until Jan 20, any results it provides after Jan 20 will be discarded</p>
      <p xmlns="http://www.w3.org/1999/xhtml">
        <b>Url: </b>
        <span class="uri-template">https://ip-ac121233:1903/StandardCostNormalizationCalculationService1.svc/CalculateNormalizationFactorsForUser</span>
      </p>
      <p xmlns="http://www.w3.org/1999/xhtml">
        <b>HTTP Method: </b>
        <span class="method">POST</span>
      </p>
      <table>
        <tr>
          <th>Message direction</th>
          <th>Format</th>
          <th>Body</th>
        </tr>
        <tr>
          <td>Request</td>
          <td>Unknown</td>
          <td>Could not generate schema document.</td>
        </tr>
        <tr>
          <td>Response</td>
          <td>Xml</td>
          <td>
            <a href="#response-xml">Example</a>,<a href="#response-schema">Schema</a></td>
        </tr>
        <tr>
          <td>Response</td>
          <td>Json</td>
          <td>
            <a href="#response-json">Example</a>
          </td>
        </tr>
      </table>
      <p>
        <a name="response-xml">The following is an example response Xml body:</a>
        <pre class="response-xml">&lt;CostNormalizationFactorCalculationResult1 xmlns="http://replicon.com/"&gt;
  &lt;errors&gt;
    &lt;notifications&gt;
      &lt;ValidationNotificationSummary1&gt;
        &lt;displayText&gt;String content&lt;/displayText&gt;
        &lt;failureKeyValues&gt;
          &lt;JsonKeyValue1&gt;
            &lt;jsonValue&gt;String content&lt;/jsonValue&gt;
            &lt;key&gt;String content&lt;/key&gt;
          &lt;/JsonKeyValue1&gt;
          &lt;JsonKeyValue1&gt;
            &lt;jsonValue&gt;String content&lt;/jsonValue&gt;
            &lt;key&gt;String content&lt;/key&gt;
          &lt;/JsonKeyValue1&gt;
        &lt;/failureKeyValues&gt;
        &lt;failureUri&gt;http://www.example.com/&lt;/failureUri&gt;
        &lt;severityUri&gt;http://www.example.com/&lt;/severityUri&gt;
      &lt;/ValidationNotificationSummary1&gt;
      &lt;ValidationNotificationSummary1&gt;
        &lt;displayText&gt;String content&lt;/displayText&gt;
        &lt;failureKeyValues&gt;
          &lt;JsonKeyValue1&gt;
            &lt;jsonValue&gt;String content&lt;/jsonValue&gt;
            &lt;key&gt;String content&lt;/key&gt;
          &lt;/JsonKeyValue1&gt;
          &lt;JsonKeyValue1&gt;
            &lt;jsonValue&gt;String content&lt;/jsonValue&gt;
            &lt;key&gt;String content&lt;/key&gt;
          &lt;/JsonKeyValue1&gt;
        &lt;/failureKeyValues&gt;
        &lt;failureUri&gt;http://www.example.com/&lt;/failureUri&gt;
        &lt;severityUri&gt;http://www.example.com/&lt;/severityUri&gt;
      &lt;/ValidationNotificationSummary1&gt;
    &lt;/notifications&gt;
  &lt;/errors&gt;
  &lt;normalizationFactorsByDate&gt;
    &lt;CostNormalizationFactorByDateDetails1&gt;
      &lt;dateRange&gt;
        &lt;endDate&gt;
          &lt;day&gt;2147483647&lt;/day&gt;
          &lt;month&gt;2147483647&lt;/month&gt;
          &lt;year&gt;2147483647&lt;/year&gt;
        &lt;/endDate&gt;
        &lt;startDate&gt;
          &lt;day&gt;2147483647&lt;/day&gt;
          &lt;month&gt;2147483647&lt;/month&gt;
          &lt;year&gt;2147483647&lt;/year&gt;
        &lt;/startDate&gt;
      &lt;/dateRange&gt;
      &lt;normalizationFactors&gt;
        &lt;CostNormalizationFactorDetails1&gt;
          &lt;costTypeUri&gt;http://www.example.com/&lt;/costTypeUri&gt;
          &lt;normalizationFactor&gt;12678967.543233&lt;/normalizationFactor&gt;
        &lt;/CostNormalizationFactorDetails1&gt;
        &lt;CostNormalizationFactorDetails1&gt;
          &lt;costTypeUri&gt;http://www.example.com/&lt;/costTypeUri&gt;
          &lt;normalizationFactor&gt;12678967.543233&lt;/normalizationFactor&gt;
        &lt;/CostNormalizationFactorDetails1&gt;
      &lt;/normalizationFactors&gt;
    &lt;/CostNormalizationFactorByDateDetails1&gt;
    &lt;CostNormalizationFactorByDateDetails1&gt;
      &lt;dateRange&gt;
        &lt;endDate&gt;
          &lt;day&gt;2147483647&lt;/day&gt;
          &lt;month&gt;2147483647&lt;/month&gt;
          &lt;year&gt;2147483647&lt;/year&gt;
        &lt;/endDate&gt;
        &lt;startDate&gt;
          &lt;day&gt;2147483647&lt;/day&gt;
          &lt;month&gt;2147483647&lt;/month&gt;
          &lt;year&gt;2147483647&lt;/year&gt;
        &lt;/startDate&gt;
      &lt;/dateRange&gt;
      &lt;normalizationFactors&gt;
        &lt;CostNormalizationFactorDetails1&gt;
          &lt;costTypeUri&gt;http://www.example.com/&lt;/costTypeUri&gt;
          &lt;normalizationFactor&gt;12678967.543233&lt;/normalizationFactor&gt;
        &lt;/CostNormalizationFactorDetails1&gt;
        &lt;CostNormalizationFactorDetails1&gt;
          &lt;costTypeUri&gt;http://www.example.com/&lt;/costTypeUri&gt;
          &lt;normalizationFactor&gt;12678967.543233&lt;/normalizationFactor&gt;
        &lt;/CostNormalizationFactorDetails1&gt;
      &lt;/normalizationFactors&gt;
    &lt;/CostNormalizationFactorByDateDetails1&gt;
  &lt;/normalizationFactorsByDate&gt;
  &lt;user&gt;
    &lt;displayText&gt;String content&lt;/displayText&gt;
    &lt;loginName&gt;String content&lt;/loginName&gt;
    &lt;slug&gt;String content&lt;/slug&gt;
    &lt;uri&gt;http://www.example.com/&lt;/uri&gt;
  &lt;/user&gt;
&lt;/CostNormalizationFactorCalculationResult1&gt;</pre>
      </p>
      <p>
        <a name="response-json">The following is an example response Json body:</a>
        <pre class="response-json">{
	"errors":{
		"notifications":[{
			"displayText":"String content",
			"failureKeyValues":[{
				"jsonValue":"String content",
				"key":"String content"
			}],
			"failureUri":"http:\/\/www.example.com\/",
			"severityUri":"http:\/\/www.example.com\/"
		}]
	},
	"normalizationFactorsByDate":[{
		"dateRange":{
			"endDate":{
				"day":2147483647,
				"month":2147483647,
				"year":2147483647
			},
			"startDate":{
				"day":2147483647,
				"month":2147483647,
				"year":2147483647
			}
		},
		"normalizationFactors":[{
			"costTypeUri":"http:\/\/www.example.com\/",
			"normalizationFactor":12678967.543233
		}]
	}],
	"user":{
		"displayText":"String content",
		"loginName":"String content",
		"slug":"String content",
		"uri":"http:\/\/www.example.com\/"
	}
}</pre>
      </p>
      <p>
        <a name="response-schema">The following is the response Xml Schema:</a>
        <pre class="response-schema">&lt;xs:schema xmlns:tns="http://replicon.com/" elementFormDefault="qualified" targetNamespace="http://replicon.com/" xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;
  &lt;xs:complexType name="CostNormalizationFactorCalculationResult1"&gt;
    &lt;xs:sequence&gt;
      &lt;xs:element minOccurs="0" name="errors" nillable="true" type="tns:ValidationResultsSummary1" /&gt;
      &lt;xs:element minOccurs="0" name="normalizationFactorsByDate" nillable="true" type="tns:ArrayOfCostNormalizationFactorByDateDetails1" /&gt;
      &lt;xs:element minOccurs="0" name="user" nillable="true" type="tns:UserReference1" /&gt;
    &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
  &lt;xs:element name="CostNormalizationFactorCalculationResult1" nillable="true" type="tns:CostNormalizationFactorCalculationResult1" /&gt;
  &lt;xs:complexType name="ValidationResultsSummary1"&gt;
    &lt;xs:sequence&gt;
      &lt;xs:element minOccurs="0" name="notifications" nillable="true" type="tns:ArrayOfValidationNotificationSummary1" /&gt;
    &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
  &lt;xs:element name="ValidationResultsSummary1" nillable="true" type="tns:ValidationResultsSummary1" /&gt;
  &lt;xs:complexType name="ArrayOfValidationNotificationSummary1"&gt;
    &lt;xs:sequence&gt;
      &lt;xs:element minOccurs="0" maxOccurs="unbounded" name="ValidationNotificationSummary1" nillable="true" type="tns:ValidationNotificationSummary1" /&gt;
    &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
  &lt;xs:element name="ArrayOfValidationNotificationSummary1" nillable="true" type="tns:ArrayOfValidationNotificationSummary1" /&gt;
  &lt;xs:complexType name="ValidationNotificationSummary1"&gt;
    &lt;xs:sequence&gt;
      &lt;xs:element minOccurs="0" name="displayText" nillable="true" type="xs:string" /&gt;
      &lt;xs:element minOccurs="0" name="failureKeyValues" nillable="true" type="tns:ArrayOfJsonKeyValue1" /&gt;
      &lt;xs:element minOccurs="0" name="failureUri" nillable="true" type="xs:anyURI" /&gt;
      &lt;xs:element minOccurs="0" name="severityUri" nillable="true" type="xs:anyURI" /&gt;
    &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
  &lt;xs:element name="ValidationNotificationSummary1" nillable="true" type="tns:ValidationNotificationSummary1" /&gt;
  &lt;xs:complexType name="ArrayOfJsonKeyValue1"&gt;
    &lt;xs:sequence&gt;
      &lt;xs:element minOccurs="0" maxOccurs="unbounded" name="JsonKeyValue1" nillable="true" type="tns:JsonKeyValue1" /&gt;
    &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
  &lt;xs:element name="ArrayOfJsonKeyValue1" nillable="true" type="tns:ArrayOfJsonKeyValue1" /&gt;
  &lt;xs:complexType name="JsonKeyValue1"&gt;
    &lt;xs:sequence&gt;
      &lt;xs:element minOccurs="0" name="jsonValue" nillable="true" type="xs:string" /&gt;
      &lt;xs:element minOccurs="0" name="key" nillable="true" type="xs:string" /&gt;
    &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
  &lt;xs:element name="JsonKeyValue1" nillable="true" type="tns:JsonKeyValue1" /&gt;
  &lt;xs:complexType name="ArrayOfCostNormalizationFactorByDateDetails1"&gt;
    &lt;xs:sequence&gt;
      &lt;xs:element minOccurs="0" maxOccurs="unbounded" name="CostNormalizationFactorByDateDetails1" nillable="true" type="tns:CostNormalizationFactorByDateDetails1" /&gt;
    &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
  &lt;xs:element name="ArrayOfCostNormalizationFactorByDateDetails1" nillable="true" type="tns:ArrayOfCostNormalizationFactorByDateDetails1" /&gt;
  &lt;xs:complexType name="CostNormalizationFactorByDateDetails1"&gt;
    &lt;xs:sequence&gt;
      &lt;xs:element minOccurs="0" name="dateRange" nillable="true" type="tns:DateRangeDetails1" /&gt;
      &lt;xs:element minOccurs="0" name="normalizationFactors" nillable="true" type="tns:ArrayOfCostNormalizationFactorDetails1" /&gt;
    &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
  &lt;xs:element name="CostNormalizationFactorByDateDetails1" nillable="true" type="tns:CostNormalizationFactorByDateDetails1" /&gt;
  &lt;xs:complexType name="DateRangeDetails1"&gt;
    &lt;xs:sequence&gt;
      &lt;xs:element minOccurs="0" name="endDate" nillable="true" type="tns:Date1" /&gt;
      &lt;xs:element minOccurs="0" name="startDate" nillable="true" type="tns:Date1" /&gt;
    &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
  &lt;xs:element name="DateRangeDetails1" nillable="true" type="tns:DateRangeDetails1" /&gt;
  &lt;xs:complexType name="Date1"&gt;
    &lt;xs:sequence&gt;
      &lt;xs:element minOccurs="0" name="day" type="xs:int" /&gt;
      &lt;xs:element minOccurs="0" name="month" type="xs:int" /&gt;
      &lt;xs:element minOccurs="0" name="year" type="xs:int" /&gt;
    &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
  &lt;xs:element name="Date1" nillable="true" type="tns:Date1" /&gt;
  &lt;xs:complexType name="ArrayOfCostNormalizationFactorDetails1"&gt;
    &lt;xs:sequence&gt;
      &lt;xs:element minOccurs="0" maxOccurs="unbounded" name="CostNormalizationFactorDetails1" nillable="true" type="tns:CostNormalizationFactorDetails1" /&gt;
    &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
  &lt;xs:element name="ArrayOfCostNormalizationFactorDetails1" nillable="true" type="tns:ArrayOfCostNormalizationFactorDetails1" /&gt;
  &lt;xs:complexType name="CostNormalizationFactorDetails1"&gt;
    &lt;xs:sequence&gt;
      &lt;xs:element minOccurs="0" name="costTypeUri" nillable="true" type="xs:anyURI" /&gt;
      &lt;xs:element minOccurs="0" name="normalizationFactor" type="xs:decimal" /&gt;
    &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
  &lt;xs:element name="CostNormalizationFactorDetails1" nillable="true" type="tns:CostNormalizationFactorDetails1" /&gt;
  &lt;xs:complexType name="UserReference1"&gt;
    &lt;xs:sequence&gt;
      &lt;xs:element minOccurs="0" name="displayText" nillable="true" type="xs:string" /&gt;
      &lt;xs:element minOccurs="0" name="loginName" nillable="true" type="xs:string" /&gt;
      &lt;xs:element minOccurs="0" name="slug" nillable="true" type="xs:string" /&gt;
      &lt;xs:element minOccurs="0" name="uri" nillable="true" type="xs:anyURI" /&gt;
    &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
  &lt;xs:element name="UserReference1" nillable="true" type="tns:UserReference1" /&gt;
&lt;/xs:schema&gt;</pre>
      </p>
      <p>
        <a name="response-schema">Additional response Xml Schemas:</a>
        <pre class="response-schema">&lt;xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;
  &lt;xs:element name="anyType" nillable="true" type="xs:anyType" /&gt;
  &lt;xs:element name="anyURI" nillable="true" type="xs:anyURI" /&gt;
  &lt;xs:element name="base64Binary" nillable="true" type="xs:base64Binary" /&gt;
  &lt;xs:element name="boolean" nillable="true" type="xs:boolean" /&gt;
  &lt;xs:element name="byte" nillable="true" type="xs:byte" /&gt;
  &lt;xs:element name="dateTime" nillable="true" type="xs:dateTime" /&gt;
  &lt;xs:element name="decimal" nillable="true" type="xs:decimal" /&gt;
  &lt;xs:element name="double" nillable="true" type="xs:double" /&gt;
  &lt;xs:element name="float" nillable="true" type="xs:float" /&gt;
  &lt;xs:element name="int" nillable="true" type="xs:int" /&gt;
  &lt;xs:element name="long" nillable="true" type="xs:long" /&gt;
  &lt;xs:element name="QName" nillable="true" type="xs:QName" /&gt;
  &lt;xs:element name="short" nillable="true" type="xs:short" /&gt;
  &lt;xs:element name="string" nillable="true" type="xs:string" /&gt;
  &lt;xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" /&gt;
  &lt;xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" /&gt;
  &lt;xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" /&gt;
  &lt;xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" /&gt;
  &lt;xs:element name="char" nillable="true" type="tns:char" /&gt;
  &lt;xs:simpleType name="char"&gt;
    &lt;xs:restriction base="xs:int" /&gt;
  &lt;/xs:simpleType&gt;
  &lt;xs:element name="duration" nillable="true" type="tns:duration" /&gt;
  &lt;xs:simpleType name="duration"&gt;
    &lt;xs:restriction base="xs:duration"&gt;
      &lt;xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" /&gt;
      &lt;xs:minInclusive value="-P10675199DT2H48M5.4775808S" /&gt;
      &lt;xs:maxInclusive value="P10675199DT2H48M5.4775807S" /&gt;
    &lt;/xs:restriction&gt;
  &lt;/xs:simpleType&gt;
  &lt;xs:element name="guid" nillable="true" type="tns:guid" /&gt;
  &lt;xs:simpleType name="guid"&gt;
    &lt;xs:restriction base="xs:string"&gt;
      &lt;xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" /&gt;
    &lt;/xs:restriction&gt;
  &lt;/xs:simpleType&gt;
  &lt;xs:attribute name="FactoryType" type="xs:QName" /&gt;
  &lt;xs:attribute name="Id" type="xs:ID" /&gt;
  &lt;xs:attribute name="Ref" type="xs:IDREF" /&gt;
&lt;/xs:schema&gt;</pre>
      </p>
      <p>
        <pre class="response-schema">&lt;tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema"&gt;
  &lt;tns:element name="schema"&gt;
    &lt;tns:complexType /&gt;
  &lt;/tns:element&gt;
&lt;/tns:schema&gt;</pre>
      </p>
    </div>
  </body>
</html>