Skip to content

Add generate auth token

Vitalii Fisenko requested to merge slava/Add__generatte_auth_token into master

Example

"bids": [
        {
            "owner": "auction",
            "id": "2ba52c818a8641f1965fd83674d60fb4",
            "bidders": [
                {
                    "name": {
                        "uk_UA": "Третий (1)",
                        "en_US": "EDRPOU"
                    },
                    "identifier": {
                        "scheme": "UA-EDR",
                        "legalName": {
                            "uk_UA": "Третий (1)",
                            "en_US": "EDRPOU"
                        },
                        "id": "12312312"
                    },
                    "address": {
                        "streetAddress": {
                            "uk_UA": "Хрещатик, 43a",
                            "en_US": "Khreschatyk, 43a"
                        },
                        "locality": {
                            "uk_UA": "Київ",
                            "en_US": "Kyiv"
                        },
                        "region": {
                            "uk_UA": "Київ",
                            "en_US": "Kyiv"
                        },
                        "postalCode": "01001",
                        "countryName": {
                            "uk_UA": "Україна",
                            "en_US": "Ukraine"
                        }
                    },
                    "contactPoint": {
                        "name": {
                            "uk_UA": "Адміністратор2",
                            "en_US": "Admin2"
                        },
                        "email": "admin@example.com",
                        "telephone": "+380996872350",
                        "faxNumber": "+380996872350"
                    }
                }
            ],
            "datePublished": "2020-09-17T06:06:37.080000Z",
            "dateModified": "2020-09-17T06:07:05.175000Z",
            "status": "active",
            "value": {
                "currency": "UAH",
                "amount": 1001.0,
                "valueAddedTaxIncluded": true
            },
            "documents": [
                {
                    "id": "4f149fdabaf942e58ae46e832f23ed90",
                    "title": {
                        "uk_UA": "Назва",
                        "en_US": "Title"
                    },
                    "description": {
                        "uk_UA": "Опис",
                        "en_US": "Description"
                    },
                    "url": "http://documents/api/documents/private/48dc5927d0d245dcb2664420c4e69c68",
                    "documentOf": "bid",
                    "documentType": "x_nonSanctionedStatement",
                    "datePublished": "2020-09-17T06:07:01.577000Z",
                    "dateModified": "2020-09-17T06:07:01.578000Z",
                    "index": 33,
                    "format": "text/plain",
                    "language": "0",
                    "hash": "md5:42494ad01afd05ee0dc69cd36d6fbc06",
                    "_ds_id": "48dc5927d0d245dcb2664420c4e69c68",
                    "_ds_scope": "private"
                }
            ],
            "participationUrl": "http://localhost/api/auth/auction?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6ImFwaSJ9.eyJpZCI6IlRJRTAwMS1VQS0yMDIwMDkxNy03MjYwMyIsImR1ciI6ODY0MDAsImJpZCI6IjJiYTUyYzgxOGE4NjQxZjE5NjVmZDgzNjc0ZDYwZmI0IiwiZXhwIjoxNjAwMzI1MDYxLCJpc3MiOiJwcm96b3Jyby5hcGkifQ.PVpopVyIEb7gB6VwQh6CHc4zZ7hDQADJp3a5S91ZRmfmLZIaRdwQANM5ujwToqvFA5gLeFKWw2Nf5Pz9iVnOZy32hZdSe2F5WTwmClJb7e3av9S30tYrPjx50bBekny4e-JyUP7ACzOd8UfI5ce1s8oA0BrUpIEKyyjhS9EzYOqQvIM3uocEb9GA211H8EROpjd05EzuqEZWt_G-XOSgjoNDrqN0hmA14PLUgp-DFMkl-TkcJLIMJ8L-E63PMJwLHlgXLW2gANviTFlatZO1QJhUxgP5no4bweoTQVtcQ-S7yE8CIrLUpLSGCOfaMypDBDpsGNDikSLrwo7tfJalvg"
        }
    ]
Edited by Vitalii Fisenko

Merge request reports