From b3402c904703f672e523af4e54833ad4bf73a854 Mon Sep 17 00:00:00 2001 From: filipriec Date: Fri, 21 Feb 2025 22:52:29 +0100 Subject: [PATCH] get docs --- src/uctovnictvo/docs/get_examples.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/uctovnictvo/docs/get_examples.txt b/src/uctovnictvo/docs/get_examples.txt index cac59cc..020a791 100644 --- a/src/uctovnictvo/docs/get_examples.txt +++ b/src/uctovnictvo/docs/get_examples.txt @@ -1,3 +1,26 @@ +❯ grpcurl -plaintext -d '{}' localhost:50051 multieko2.uctovnictvo.Uctovnictvo/GetUctovnictvoCount + +{ + "count": "4" +} +❯ grpcurl -plaintext -d '{ + "position": 2 +}' localhost:50051 multieko2.uctovnictvo.Uctovnictvo/GetUctovnictvoByPosition + +{ + "id": "2", + "adresarId": "1", + "cDokladu": "DOC123", + "datum": "01.10.2023", + "cFaktury": "INV123", + "obsah": "Sample content", + "stredisko": "Center A", + "cUctu": "ACC123", + "md": "MD123", + "identif": "ID123", + "poznanka": "Sample note", + "firma": "AAA" +} ❯ grpcurl -plaintext -d '{ "id": 1 }' localhost:50051 multieko2.uctovnictvo.Uctovnictvo/GetUctovnictvo