Reference for https://trial.eway-crm.com/31994/WcfService/Service.svc/GetLatestRevision

Gets the latest known revision of the item.

Url: https://trial.eway-crm.com/31994/WcfService/Service.svc/GetLatestRevision

HTTP Method: POST

Message direction Format Body
Request Unknown Cannot infer schema. The Request body is wrapped.
Response Xml Example,Schema
Response Json Example

The following is an example response Xml body:

<DatumResponseOfRevisionHistoryRecord xmlns="http://schemas.datacontract.org/2004/07/WcfService.Responses">
  <Description>String content</Description>
  <ReturnCode>String content</ReturnCode>
  <!--Valid elements of type: RevisionHistoryRecordWithFKs-->
  <Datum xmlns:d4="http://schemas.datacontract.org/2004/07/WcfService.ItemTypes.Generated" i:type="d4:RevisionHistoryRecordWithFKs" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <d4:ItemGUID>1627aea5-8e0a-4371-9022-9b504344e724</d4:ItemGUID>
    <d4:ItemVersion>2147483647</d4:ItemVersion>
    <d4:AdditionalFields p5:FactoryType="namespace:Name" xmlns:p5="http://schemas.microsoft.com/2003/10/Serialization/" />
    <d4:CreatedByGUID>1627aea5-8e0a-4371-9022-9b504344e724</d4:CreatedByGUID>
    <d4:FileAs>String content</d4:FileAs>
    <d4:IsPrivate>true</d4:IsPrivate>
    <d4:ItemChanged>String content</d4:ItemChanged>
    <d4:ItemCreated>String content</d4:ItemCreated>
    <d4:ModifiedByGUID>1627aea5-8e0a-4371-9022-9b504344e724</d4:ModifiedByGUID>
    <d4:OwnerGUID>1627aea5-8e0a-4371-9022-9b504344e724</d4:OwnerGUID>
    <d4:Relations>
      <BoundRelation xmlns="http://schemas.datacontract.org/2004/07/WcfService.ItemTypes.InnerTypes">
        <DifferDirection>true</DifferDirection>
        <ForeignFolderName>String content</ForeignFolderName>
        <ForeignItemGUID>1627aea5-8e0a-4371-9022-9b504344e724</ForeignItemGUID>
        <ItemGUID>1627aea5-8e0a-4371-9022-9b504344e724</ItemGUID>
        <OwnerGUID>1627aea5-8e0a-4371-9022-9b504344e724</OwnerGUID>
        <RelationDataGUID>1627aea5-8e0a-4371-9022-9b504344e724</RelationDataGUID>
        <RelationType>String content</RelationType>
      </BoundRelation>
      <BoundRelation xmlns="http://schemas.datacontract.org/2004/07/WcfService.ItemTypes.InnerTypes">
        <DifferDirection>true</DifferDirection>
        <ForeignFolderName>String content</ForeignFolderName>
        <ForeignItemGUID>1627aea5-8e0a-4371-9022-9b504344e724</ForeignItemGUID>
        <ItemGUID>1627aea5-8e0a-4371-9022-9b504344e724</ItemGUID>
        <OwnerGUID>1627aea5-8e0a-4371-9022-9b504344e724</OwnerGUID>
        <RelationDataGUID>1627aea5-8e0a-4371-9022-9b504344e724</RelationDataGUID>
        <RelationType>String content</RelationType>
      </BoundRelation>
    </d4:Relations>
    <d4:DocumentGuid>1627aea5-8e0a-4371-9022-9b504344e724</d4:DocumentGuid>
    <d4:Revision>2147483647</d4:Revision>
  </Datum>
</DatumResponseOfRevisionHistoryRecord>

The following is an example response Json body:

{
	"Description":"String content",
	"ReturnCode":"String content",
	"Datum":{
		"ItemGUID":"1627aea5-8e0a-4371-9022-9b504344e724",
		"ItemVersion":2147483647,
		"AdditionalFields":{
			
		},
		"CreatedByGUID":"1627aea5-8e0a-4371-9022-9b504344e724",
		"FileAs":"String content",
		"IsPrivate":true,
		"ItemChanged":"String content",
		"ItemCreated":"String content",
		"ModifiedByGUID":"1627aea5-8e0a-4371-9022-9b504344e724",
		"OwnerGUID":"1627aea5-8e0a-4371-9022-9b504344e724",
		"Relations":[{
			"DifferDirection":true,
			"ForeignFolderName":"String content",
			"ForeignItemGUID":"1627aea5-8e0a-4371-9022-9b504344e724",
			"ItemGUID":"1627aea5-8e0a-4371-9022-9b504344e724",
			"OwnerGUID":"1627aea5-8e0a-4371-9022-9b504344e724",
			"RelationDataGUID":"1627aea5-8e0a-4371-9022-9b504344e724",
			"RelationType":"String content"
		}],
		"DocumentGuid":"1627aea5-8e0a-4371-9022-9b504344e724",
		"Revision":2147483647
	}
}

The following is the response Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/WcfService.Responses" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WcfService.Responses" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/WcfService.ItemTypes.Generated" />
  <xs:complexType name="DatumResponseOfRevisionHistoryRecord">
    <xs:annotation>
      <xs:appinfo>
        <GenericType Name="DatumResponseOf{0}" Namespace="http://schemas.datacontract.org/2004/07/WcfService.Responses" xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
          <GenericParameter Name="RevisionHistoryRecord" Namespace="http://schemas.datacontract.org/2004/07/WcfService.ItemTypes.Generated" />
        </GenericType>
      </xs:appinfo>
    </xs:annotation>
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ResponseBase">
        <xs:sequence>
          <xs:element minOccurs="0" name="Datum" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/WcfService.ItemTypes.Generated" type="q1:RevisionHistoryRecord" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="DatumResponseOfRevisionHistoryRecord" nillable="true" type="tns:DatumResponseOfRevisionHistoryRecord" />
  <xs:complexType name="ResponseBase">
    <xs:sequence>
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ReturnCode" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ResponseBase" nillable="true" type="tns:ResponseBase" />
</xs:schema>

Additional response Xml Schemas:

<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">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/WcfService.ItemTypes.Generated" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WcfService.ItemTypes.Generated" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/WcfService.ItemTypes.InnerTypes" />
  <xs:complexType name="RevisionHistoryRecord">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ItemBase">
        <xs:sequence>
          <xs:element minOccurs="0" name="DocumentGuid" nillable="true" type="ser:guid" />
          <xs:element minOccurs="0" name="Revision" nillable="true" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="RevisionHistoryRecord" nillable="true" type="tns:RevisionHistoryRecord" />
  <xs:complexType name="ItemBase">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ItemIdentifier">
        <xs:sequence>
          <xs:element minOccurs="0" name="AdditionalFields" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/WcfService.ItemTypes.InnerTypes" type="q1:AdditionalFieldsCollection" />
          <xs:element minOccurs="0" name="CreatedByGUID" nillable="true" type="ser:guid" />
          <xs:element minOccurs="0" name="FileAs" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="IsPrivate" nillable="true" type="xs:boolean" />
          <xs:element minOccurs="0" name="ItemChanged" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ItemCreated" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ModifiedByGUID" nillable="true" type="ser:guid" />
          <xs:element minOccurs="0" name="OwnerGUID" nillable="true" type="ser:guid" />
          <xs:element minOccurs="0" name="Relations" nillable="true" xmlns:q2="http://schemas.datacontract.org/2004/07/WcfService.ItemTypes.InnerTypes" type="q2:ArrayOfBoundRelation" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ItemBase" nillable="true" type="tns:ItemBase" />
  <xs:complexType name="ItemIdentifier">
    <xs:sequence>
      <xs:element minOccurs="0" name="ItemGUID" nillable="true" type="ser:guid" />
      <xs:element minOccurs="0" name="ItemVersion" nillable="true" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ItemIdentifier" nillable="true" type="tns:ItemIdentifier" />
  <xs:complexType name="ItemIdentifierWithFKs">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ItemIdentifier">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ItemIdentifierWithFKs" nillable="true" type="tns:ItemIdentifierWithFKs" />
  <xs:complexType name="ItemBaseWithFKs">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ItemBase">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ItemBaseWithFKs" nillable="true" type="tns:ItemBaseWithFKs" />
  <xs:complexType name="RevisionHistoryRecordWithFKs">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:RevisionHistoryRecord">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="RevisionHistoryRecordWithFKs" nillable="true" type="tns:RevisionHistoryRecordWithFKs" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/WcfService.ItemTypes.InnerTypes" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WcfService.ItemTypes.InnerTypes" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="AdditionalFieldsCollection">
    <xs:sequence>
      <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##local" processContents="skip" />
    </xs:sequence>
    <xs:attribute ref="ser:FactoryType" />
  </xs:complexType>
  <xs:element name="AdditionalFieldsCollection" nillable="true" type="tns:AdditionalFieldsCollection" />
  <xs:complexType name="ArrayOfBoundRelation">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="BoundRelation" nillable="true" type="tns:BoundRelation" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfBoundRelation" nillable="true" type="tns:ArrayOfBoundRelation" />
  <xs:complexType name="BoundRelation">
    <xs:sequence>
      <xs:element minOccurs="0" name="DifferDirection" type="xs:boolean" />
      <xs:element minOccurs="0" name="ForeignFolderName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ForeignItemGUID" type="ser:guid" />
      <xs:element minOccurs="0" name="ItemGUID" type="ser:guid" />
      <xs:element minOccurs="0" name="OwnerGUID" type="ser:guid" />
      <xs:element minOccurs="0" name="RelationDataGUID" type="ser:guid" />
      <xs:element minOccurs="0" name="RelationType" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="BoundRelation" nillable="true" type="tns:BoundRelation" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="ArrayOfguid">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="guid" type="ser:guid" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfguid" nillable="true" type="tns:ArrayOfguid" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>