GetMbCheckSum

Syntax

Result GetMbCheckSum(MbCheckSumId tMbCheckSum, GetMbCheckSumArg tArg)

Parameters

tMbCheckSum. Moniker for working with checksums.

tArg. Operation execution parameters.

Description

The GetMbCheckSum operation gets information about the objects, for which checksums are performed.

Comments

To execute the operation, in the tMbCheckSum field specify moniker for working with checksums, and in the tArg field specify parameters for getting information about objects. The moniker can be obtained on executing the OpenMbCheckSum operation. The operation results in the information about objects.

Example

Below is the example of getting information about the objects, for which checksums are performed. The request contains moniker for working with checksums. The response contains the obtained information.

SOAP request:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GetMbCheckSum xmlns="http://www.fsight.ru/PP.SOM.Som">
<tMbCheckSum xmlns="">
  <id>S1!M!S!MbCheckSum2</id>
  </tMbCheckSum>
<tArg xmlns="">
<pattern>
  <itemsOperation>Get</itemsOperation>
  </pattern>
  </tArg>
  </GetMbCheckSum>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<GetMbCheckSumResult xmlns="http://www.fsight.ru/PP.SOM.Som" xmlns:q1="http://www.fsight.ru/PP.SOM.Som" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<id xmlns="">
  <id>S1!M!S!MbCheckSum2</id>
  </id>
<meta xmlns="">
<items>
<it>
  <k>8788</k>
  <id>OBJ8788</id>
  <n>Form</n>
  <vis>1</vis>
  <status>Identical</status>
  <hash>BrLrPuFqHlGtJzNsAoAnByNoDkMpBsGx</hash>
<object ds="" isShortcut="0" isLink="0" ver="0" hf="0">
  <i>OBJ8788</i>
  <n>Form</n>
  <k>8788</k>
  <c>1538</c>
  <p>8777</p>
  <h>0</h>
  <hasPrv>0</hasPrv>
  <ic>0</ic>
  </object>
  </it>
<it>
  <k>8784</k>
  <id>OBJ8784</id>
  <n>Dashboard</n>
  <vis>1</vis>
  <status>Identical</status>
  <hash>EpByCwIkDxBpKwLwOpAoEpGvEmCtOmDx</hash>
<object ds="" isShortcut="0" isLink="0" ver="1" hf="0">
  <i>OBJ8784</i>
  <n>Dashboard</n>
  <k>8784</k>
  <c>8448</c>
  <p>8777</p>
  <h>0</h>
  <hasPrv>0</hasPrv>
  <ic>0</ic>
  </object>
  </it>
  </items>
  </meta>
  </GetMbCheckSumResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"GetMbCheckSum" :
{
"tMbCheckSum" :
{
"id" : "S1!M!S!MbCheckSum2"
},
"tArg" :
{
"pattern" :
{
"itemsOperation" : "Get"
}
}
}
}

JSON response:

{
"GetMbCheckSumResult" :
{
"id" :
{
"id" : "S1!M!S!MbCheckSum2"
},
"meta" :
{
"items" :
{
"it" :
[
{
"k" : "8788",
"id" : "OBJ8788",
"n" : "Form",
"vis" : "1",
"status" : "Identical",
"hash" : "BrLrPuFqHlGtJzNsAoAnByNoDkMpBsGx",
"object" :
{
"@ds" : "",
"@isShortcut" : "0",
"@isLink" : "0",
"@ver" : "0",
"@hf" : "0",
"i" : "OBJ8788",
"n" : "Form",
"k" : "8788",
"c" : "1538",
"p" : "8777",
"h" : "0",
"hasPrv" : "0",
"ic" : "0"
}
},
{
"k" : "8784",
"id" : "OBJ8784",
"n" : "Dashboard",
"vis" : "1",
"status" : "Identical",
"hash" : "EpByCwIkDxBpKwLwOpAoEpGvEmCtOmDx",
"object" :
{
"@ds" : "",
"@isShortcut" : "0",
"@isLink" : "0",
"@ver" : "1",
"@hf" : "0",
"i" : "OBJ8784",
"n" : "Dashboard",
"k" : "8784",
"c" : "8448",
"p" : "8777",
"h" : "0",
"hasPrv" : "0",
"ic" : "0"
}
}
]
}
}
}
}
public static GetMbCheckSumResult GetCheckSum(string moniker)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tGet = new GetMbCheckSum()
{
tArg = new GetMbCheckSumArg()
{
pattern = new MbCheckSumMdPattern()
{
itemsOperation = ListOperation.Get
},
},
tMbCheckSum = new MbCheckSumId() { id = moniker }
};
// View information about checksums
var result = somClient.GetMbCheckSum(tGet);
return result;
}

See also:

Operations for Working with Repository