Перейти к содержанию

Структура "Собственного тендера"

Данная структура описывает данные собственного тендера.

Описание полей

Имя Описание Тип данных Обязательный
tender Тендер Структура "Тендера"
members Массив участников тендера. Структура "Участника тендера"
leader Выигравшая ставка. Структура "Ставки"

Пример

JSON
{
  "id": 671,
  "dateCreate": 1651823205000,
  "dateEdit": 1651823205000,
  "type": "BIDS",
  "status": "CANCELED",
  "tenderStatusDate": 1651824180000,
  "tenderStatusReason": "tender.status.reason.cancel.by.inactivity",
  "tenderVerificationStart": null,
  "tenderVerificationEnd": null,
  "dateLoad": 1651795200000,
  "tenderStart": 1651823265000,
  "tenderEnd": 1651824165000,
  "directionFrom": {
    "countrySign": {
      "id": 1,
      "name": "Украина",
      "sign": "UA"
    },
    "area": null,
    "town": {
      "id": 933,
      "name": "Милан"
    },
    "name": "Милан",
    "postCode": "",
    "address": "string",
    "lat": 0.3,
    "lon": 0.5
  },
  "directionTo": {
    "countrySign": {
      "id": 1,
      "name": "Украина",
      "sign": "UA"
    },
    "area": {
      "id": 130,
      "name": "Гродненская обл."
    },
    "town": {
      "id": 255,
      "name": "Ошмяны"
    },
    "name": "Ошмяны",
    "postCode": "23",
    "address": "",
    "lat": 0.8,
    "lon": 0.0
  },
  "distance": {
    "value": 0.0,
    "time": 0
  },
  "cargo": {
    "content": {
      "id": 0,
      "name": "чебурашки"
    },
    "length": 0.00,
    "width": 0.00,
    "height": 0.00,
    "weight": 10.000,
    "volume": 0.000,
    "photos": [
      "string"
    ]
  },
  "truck": {
    "bodyType": {
      "id": 69,
      "name": "Ломовоз / Металловоз"
    },
    "bodyTypeGroup": {
      "id": 2,
      "name": "Открытая"
    },
    "loadTypes": [
      {
        "id": 24,
        "name": "верхняя"
      }
    ],
    "count": 0,
    "periodicity": {
      "id": 2,
      "name": "в день"
    }
  },
  "payment": {
    "value": 100.00,
    "bidStep": 10.00,
    "currency": {
      "id": 2,
      "name": "грн."
    },
    "form": {
      "id": 2,
      "name": "нал."
    },
    "vat": true
  },
  "documents": [
    "string"
  ],
  "description": "string",
  "owner": {
    "refId": 10270310400,
    "ownershipType": "ENTREPRENEUR",
    "active": true,
    "deleted": false,
    "regDate": 1642067358000,
    "regProject": null,
    "firmCode": "4564564569",
    "lang": "RU",
    "contact": {
      "contactId": 0,
      "name": "Ivanov Ivan Ivanovich",
      "nameWithoutBrand": "Ivanov Ivan Ivanovich",
      "nameWithBrand": "Ivanov Ivan Ivanovich",
      "nameLang": "RU",
      "face": "Ivanov Ivan Ivanovich",
      "phoneItem1": {
        "phone": "+380(45)4564545",
        "messengerTypes": []
      },
      "phoneItem2": {
        "phone": "",
        "messengerTypes": []
      },
      "phoneItem3": {
        "phone": "",
        "messengerTypes": []
      },
      "phoneItem4": {
        "phone": "",
        "messengerTypes": []
      },
      "skype": "",
      "email": "gmai@gmail.test",
      "avatarUrls": {
        "url40x40": null,
        "url100x100": null
      },
      "logoUrls": {
        "url40x40": null,
        "url60x60": null,
        "url72x72": null,
        "url100x100": null,
        "url170x132": null,
        "url340x340": null
      }
    },
    "address": {
      "town": {
        "id": 69,
        "name": "Харьков"
      },
      "country": {
        "id": 1,
        "name": "Украина",
        "sign": "UA"
      },
      "area": {
        "id": 34,
        "name": "Харьковская обл."
      }
    },
    "rating": {
      "goodResponseCount": 0,
      "badResponseCount": 0,
      "ball": 0.0
    },
    "flags": {
      "premium": false,
      "shipper": false,
      "carrier": false,
      "carrierGps": false,
      "approvedProfile": false,
      "approvedContacts": false,
      "topBrand": false,
      "vip": false,
      "lardiClient": true,
      "autoRepeat": true,
      "hideAds": false
    }
  },
  "bidSummary": {
    "best": 870,
    "worst": 930,
    "total": 8,
    "winner": null
  },
  "members": [    {
    "comment": "",
    "documents": [],
    "owner": {
        "refId": 16687601664,
        "ownershipType": "ENTREPRENEUR",
        "active": true,
        "deleted": false,
        "regDate": 1650954917000,
        "regProject": null,
        "firmCode": "3237012832",
        "lang": "RU",
        "contact": {
            "contactId": 0,
            "name": "Сидоров Александр Александрович",
            "nameWithoutBrand": "Сидоров Александр Александрович",
            "nameWithBrand": "Сидоров Александр Александрович",
            "nameLang": "RU",
            "face": "Сидоров Александр Александрович",
            "phoneItem1": {
                "phone": "+380(67)7734578",
                "messengerTypes": []
            },
            "phoneItem2": {
                "phone": "",
                "messengerTypes": []
            },
            "phoneItem3": {
                "phone": "",
                "messengerTypes": []
            },
            "phoneItem4": {
                "phone": "",
                "messengerTypes": []
            },
            "skype": "",
            "email": "topf4993@gmail.com",
            "avatarUrls": {
                "url40x40": null,
                "url100x100": null
            },
            "logoUrls": {
                "url40x40": null,
                "url60x60": null,
                "url72x72": null,
                "url100x100": null,
                "url170x132": null,
                "url340x340": null
            }
        },
        "address": {
            "town": {
                "id": 7522,
                "name": "Зачепиловка"
            },
        "country": {
            "id": 1,
            "name": "Украина",
            "sign": "UA"
        },
        "area": {
            "id": 34,
            "name": "Харьковская обл."
        }
        },
        "rating": {
            "goodResponseCount": 0,
            "badResponseCount": 0,
            "ball": 0.0
        },
        "flags": {
            "premium": false,
            "shipper": false,
            "carrier": false,
            "carrierGps": false,
            "approvedProfile": false,
            "approvedContacts": false,
            "topBrand": false,
            "vip": false,
            "lardiClient": false,
            "autoRepeat": false,
            "hideAds": false
        }
    },
    "bidCount": 3,
        "actualBid": {
            "id": 409,
            "date": 1650974985000,
            "value": 850.00
    }
}],
  "leader":     {
    "comment": "",
    "documents": [],
    "owner": {
        "refId": 16687601664,
        "ownershipType": "ENTREPRENEUR",
        "active": true,
        "deleted": false,
        "regDate": 1650954917000,
        "regProject": null,
        "firmCode": "3237012832",
        "lang": "RU",
        "contact": {
            "contactId": 0,
            "name": "Сидоров Александр Александрович",
            "nameWithoutBrand": "Сидоров Александр Александрович",
            "nameWithBrand": "Сидоров Александр Александрович",
            "nameLang": "RU",
            "face": "Сидоров Александр Александрович",
            "phoneItem1": {
                "phone": "+380(67)7734578",
                "messengerTypes": []
            },
            "phoneItem2": {
                "phone": "",
                "messengerTypes": []
            },
            "phoneItem3": {
                "phone": "",
                "messengerTypes": []
            },
            "phoneItem4": {
                "phone": "",
                "messengerTypes": []
            },
            "skype": "",
            "email": "topf4993@gmail.com",
            "avatarUrls": {
                "url40x40": null,
                "url100x100": null
            },
            "logoUrls": {
                "url40x40": null,
                "url60x60": null,
                "url72x72": null,
                "url100x100": null,
                "url170x132": null,
                "url340x340": null
            }
        },
        "address": {
            "town": {
                "id": 7522,
                "name": "Зачепиловка"
            },
        "country": {
            "id": 1,
            "name": "Украина",
            "sign": "UA"
        },
        "area": {
            "id": 34,
            "name": "Харьковская обл."
        }
        },
        "rating": {
            "goodResponseCount": 0,
            "badResponseCount": 0,
            "ball": 0.0
        },
        "flags": {
            "premium": false,
            "shipper": false,
            "carrier": false,
            "carrierGps": false,
            "approvedProfile": false,
            "approvedContacts": false,
            "topBrand": false,
            "vip": false,
            "lardiClient": false,
            "autoRepeat": false,
            "hideAds": false
        }
    },
    "bidCount": 3,
        "actualBid": {
            "id": 409,
            "date": 1650974985000,
            "value": 850.00
    }
  }
}