Редактирование записей в таблице


URL: components/Services/APIService.asmx

Метод: ChangeDirectoryRecords

Передаваемые параметры

ПараметрОписание
ASPNETSessionIdИдентификатор сессии
recordМассив записей RecordWrapper, который включает в себя:
RecordId - идентификатор таблицы;
RecordName - наименование таблицы;
RecordParentId - идентификатор родительского объекта
FieldsМассив реквизитов FieldWrapper
DateСистемная дата
Формат даты: 2011-06-06 01:00:00Z
ProjectIdИдентификатор объекта, дата начала или окончания которого будут датой записи таблицы
DateTypeИспользуемая в таблице дата (начала или окончания) объекта (ProjectId). Доступные значения: StartDate, EndDate
DelayКоличество дней задержки (временной лаг) к дате объекта (DateType). Указывается в календарных днях
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:ChangeDirectoryRecords>
         <tem:ASPNETSessionId>string</tem:ASPNETSessionId>
         <tem:records>
            <tem:RecordWrapper>
               <tem:RecordId>string</tem:RecordId>
               <tem:RecordName>string</tem:RecordName>
               <tem:RecordParentId>string</tem:RecordParentId>
               <tem:Fields>
                  <tem:FieldWrapper>
                     <tem:FieldName>string</tem:FieldName>
                     <tem:FieldId>string</tem:FieldId>
                     <tem:FieldVal>string</tem:FieldVal>
                     <tem:FieldType>string</tem:FieldType>
                  </tem:FieldWrapper>
               </tem:Fields>
               <tem:Date>dateTime</tem:Date>
               <tem:RecordProjectRelation>
                  <tem:ProjectId>guid</tem:ProjectId>
                  <tem:DateType>string</tem:DateType>
                  <tem:Delay>int</tem:Delay>
               </tem:RecordProjectRelation>
            </tem:RecordWrapper>
         </tem:records>
      </tem:ChangeDirectoryRecords>
   </soapenv:Body>
</soapenv:Envelope>

Возвращаемый параметр

ПараметрОписание
ChangeDirectoryRecordsResultРезультат выполнения запроса
<?xml version="1.0" encoding="utf-8"?>
<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">
      <ChangeDirectoryRecordsResponse xmlns="http://tempuri.org/">
         <ChangeDirectoryRecordsResult>string</ChangeDirectoryRecordsResult>
      </ChangeDirectoryRecordsResponse>
   </s:Body>
</s:Envelope>