# ინდივიდუალური დოკუმენტების სტატუსები
მეთოდის საშუალებით შესაძლებელია დოკუმენტების სტატუსების გაგება, მათი უნიკალური იდენტიფიკატორების მიხედვით.

## Query პარამეტრები

- `key` — ერთი ან რამდენიმე integer, required

  დოკუმენტის უნიკალური იდენტიფიკატორი business online-ში, ერთი ან რამდენიმე.

**REQUEST**

```api
GET api/documents/statuses/{keys}
```

## დაბრუნებული პარამეტრები#

- `UniqueId` — globally unique identifier

  გარე (გამომძახებელ) სისტემაში დოკუმენტის უნიკალური იდენტიფიკატორი (Guid).

- `UniqueKey` — integer

  დოკუმენტის უნიკალური იდენტიფიკატორი business online-ში.

- `Status` — string

  დოკუმენტის სტატუსი.

- `BulkLineStatus` — string

  გამოიყენება პაკეტური გადარიცხვის დროს.

- `RejectCode` — integer

  უარყოფის კოდი.

- `ResultCode` — integer

  ოპერაციის შედეგის კოდი (ლინკით ResultCode გვერდზე).
  [result code](../result/result-codes.md)

- `Match` — decimal number

  შიდა გადარიცხვის დროს, თანხვედრის % თქვენ მიერ აკრეფილი მიმღების დასახელებასთან. იურიდიული პირის შემთხვევაში მოწმდება ბანკში IBAN-ის ანგარიშის მფლობელის დასახელებასთან, ფიზიკური პირის შემთხვევაში კი – სახელთან და გვართან. შედარების შედეგად ბრუნდება დამთხვევის პროცენტული მაჩვენებელი.

**JSON**

```json
[
  {
    "UniqueId": "79d46ee2-2150-4fc0-b0b6-d22ea3476551",
    "UniqueKey": 1,
    "Status": "sample string 2",
    "BulkLineStatus": "sample string 3",
    "RejectCode": 1,
    "ResultCode": 1,
    "Match": 1.0
  },
  {
    "UniqueId": "79d46ee2-2150-4fc0-b0b6-d22ea3476551",
    "UniqueKey": 1,
    "Status": "sample string 2",
    "BulkLineStatus": "sample string 3",
    "RejectCode": 1,
    "ResultCode": 1,
    "Match": 1.0
  }
]
```

**XML**

```xml
<ArrayOfDocumentStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CIBApi.Models">
  <DocumentStatus>
    <BulkLineStatus>sample string 3</BulkLineStatus>
    <Match>1</Match>
    <RejectCode>1</RejectCode>
    <ResultCode>1</ResultCode>
    <Status>sample string 2</Status>
    <UniqueId>79d46ee2-2150-4fc0-b0b6-d22ea3476551</UniqueId>
    <UniqueKey>1</UniqueKey>
  </DocumentStatus>
  <DocumentStatus>
    <BulkLineStatus>sample string 3</BulkLineStatus>
    <Match>1</Match>
    <RejectCode>1</RejectCode>
    <ResultCode>1</ResultCode>
    <Status>sample string 2</Status>
    <UniqueId>79d46ee2-2150-4fc0-b0b6-d22ea3476551</UniqueId>
    <UniqueKey>1</UniqueKey>
  </DocumentStatus>
</ArrayOfDocumentStatus>
```
