GET api/Customer/Abonents_ChangeAutomaticCreditSystemOffset?code={code}&offset={offset}&dt={dt}&employee={employee}

Смена даты кредитования абонентов

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

Номер договора

integer

Required

offset

Сдвиг относительно текущей даты

integer

Required

dt

Дата предоставления "кредита по"

date

None.

employee

integer

Default value is 9579

Body Parameters

None.

Response Information

Resource Description

AutomaticCreditSystemResult
NameDescriptionTypeAdditional information
Data

Текущий параметр кредитования

ACS

None.

Result

Результат обработки запроса

boolean

None.

Message

Сообщение

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "CurrentOff": 1,
    "CurrentNotify": 2,
    "CurrentCredit": "2025-09-02T23:23:10.2959727+00:00",
    "Granted": "2025-09-02T23:23:10.2959727+00:00"
  },
  "Result": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<AutomaticCreditSystemResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceApi.Models">
  <Message>sample string 2</Message>
  <Result>true</Result>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Data.Models.dto">
    <d2p1:CurrentCredit>2025-09-02T23:23:10.2959727+00:00</d2p1:CurrentCredit>
    <d2p1:CurrentNotify>2</d2p1:CurrentNotify>
    <d2p1:CurrentOff>1</d2p1:CurrentOff>
    <d2p1:Granted>2025-09-02T23:23:10.2959727+00:00</d2p1:Granted>
  </Data>
</AutomaticCreditSystemResult>