POST Docs

Vytvoření nové přejímky. Pouze pro uživatele v roli Admin, Přebírající a Zpracovatel.

Request Information

URI Parameters

None.

Body Parameters

DocEditDTO
NameDescriptionTypeAdditional information
Type

DocType

None.

DocumentationType

DocumentationType

None.

DataOrigin

DocDataOrigin

None.

BuildingAuthorityId

integer

None.

BuildingCategoryTopography

boolean

None.

BuildingCategoryUtilities

boolean

None.

BuildingTitle

string

None.

ObjectTitle

string

None.

IncidentParcels

string

None.

GeometryPlanNumber

string

None.

CertifiedGeodesistId

integer

None.

CadasterIds

Collection of integer

None.

BuildingDecisionType

BuildingDecisionType

None.

BuildingDecisionNumber

string

None.

OwnerName

string

None.

OwnerAddressStreet

string

None.

OwnerAddressCity

string

None.

OwnerAddressPostalCode

string

None.

Note

string

None.

AuthorId

integer

None.

ReplacesDocIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "type": "standardni",
  "documentationType": "dsps",
  "dataOrigin": "geodetickeMereni",
  "buildingAuthorityId": 1,
  "buildingCategoryTopography": true,
  "buildingCategoryUtilities": true,
  "buildingTitle": "sample string 3",
  "objectTitle": "sample string 4",
  "incidentParcels": "sample string 5",
  "geometryPlanNumber": "sample string 6",
  "certifiedGeodesistId": 1,
  "cadasterIds": [
    1,
    2
  ],
  "buildingDecisionType": "stavebniPovoleni",
  "buildingDecisionNumber": "sample string 7",
  "ownerName": "sample string 8",
  "ownerAddressStreet": "sample string 9",
  "ownerAddressCity": "sample string 10",
  "ownerAddressPostalCode": "sample string 11",
  "note": "sample string 12",
  "authorId": 13,
  "replacesDocIds": [
    1,
    2
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DocDTO
NameDescriptionTypeAdditional information
IncidentParcels

string

None.

BuildingAuthorityId

integer

None.

BuildingAuthority

BuildingAuthorityPlainDTO

None.

CertifiedGeodesistId

integer

None.

CertifiedGeodesist

CertifiedGeodesistDTO

None.

BuildingDecisionType

BuildingDecisionType

None.

BuildingDecisionNumber

string

None.

OwnerAddressStreet

string

None.

OwnerAddressCity

string

None.

OwnerAddressPostalCode

string

None.

Note

string

None.

Attachments

Collection of AttachmentPlainDTO

None.

ReplacedByDocId

integer

None.

ReplacedByDoc

DocPlainDTO

None.

ReplacesDocs

Collection of DocPlainDTO

None.

StateHistories

Collection of DocStateHistoryDTO

None.

Region

DocRegionDTO

None.

StateTransitions

Collection of DocStateTransitionDTO

None.

HasProtocol

boolean

None.

CanEditProperties

boolean

None.

CanEditAttachments

boolean

None.

CanEditRegion

boolean

None.

MissingAttachments

Dictionary of EntityErrorCode [key] and string [value]

None.

HasAllRequiredAttachments

boolean

None.

Number

string

None.

State

DocState

None.

IsArchived

boolean

None.

Type

DocType

None.

SubmissionType

DocSubmissionType

None.

DocumentationType

DocumentationType

None.

New

date

None.

Accepted

date

None.

Rejected

date

None.

Finished

date

None.

DataOrigin

DocDataOrigin

None.

BuildingCategoryTopography

boolean

None.

BuildingCategoryUtilities

boolean

None.

BuildingTitle

string

None.

ObjectTitle

string

None.

GeometryPlanNumber

string

None.

OwnerName

string

None.

AuthorId

integer

None.

Author

UserPlainDTO

None.

OfficerId

integer

None.

Officer

UserPlainDTO

None.

DTMPEditorId

integer

None.

DTMPEditor

UserPlainDTO

None.

Cadasters

Collection of CadasterDTO

None.

Creator

UserPlainDTO

None.

Editor

UserPlainDTO

None.

CreatorId

integer

None.

Created

date

None.

EditorId

integer

None.

Edited

date

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "incidentParcels": "sample string 1",
  "buildingAuthorityId": 1,
  "buildingAuthority": {
    "number": "sample string 1",
    "title": "sample string 2",
    "addressStreet": "sample string 3",
    "addressCity": "sample string 4",
    "addressPostalCode": "sample string 5",
    "dataBox": "sample string 6",
    "contactPerson": "sample string 7",
    "email": "sample string 8",
    "phone": "sample string 9",
    "creatorId": 10,
    "created": "2025-04-26T04:28:14.1276594",
    "editorId": 1,
    "edited": "2025-04-26T04:28:14.1276594",
    "id": 12
  },
  "certifiedGeodesistId": 1,
  "certifiedGeodesist": {
    "number": 1,
    "name": "sample string 2",
    "surname": "sample string 3",
    "a": true,
    "b": true,
    "c": true,
    "addressStreet": "sample string 7",
    "addressCity": "sample string 8",
    "addressPostalCode": "sample string 9",
    "isDeleted": true,
    "creatorId": 11,
    "created": "2025-04-26T04:28:14.1276594",
    "editorId": 1,
    "edited": "2025-04-26T04:28:14.1276594",
    "id": 13
  },
  "buildingDecisionType": "stavebniPovoleni",
  "buildingDecisionNumber": "sample string 2",
  "ownerAddressStreet": "sample string 3",
  "ownerAddressCity": "sample string 4",
  "ownerAddressPostalCode": "sample string 5",
  "note": "sample string 6",
  "attachments": [
    {
      "docId": 1,
      "title": "sample string 2",
      "type": "ostatni",
      "mediaType": "sample string 3",
      "size": 4,
      "creatorId": 5,
      "created": "2025-04-26T04:28:14.1276594",
      "editorId": 1,
      "edited": "2025-04-26T04:28:14.1276594",
      "id": 7
    },
    {
      "docId": 1,
      "title": "sample string 2",
      "type": "ostatni",
      "mediaType": "sample string 3",
      "size": 4,
      "creatorId": 5,
      "created": "2025-04-26T04:28:14.1276594",
      "editorId": 1,
      "edited": "2025-04-26T04:28:14.1276594",
      "id": 7
    }
  ],
  "replacedByDocId": 1,
  "replacedByDoc": {
    "number": "sample string 1",
    "state": "creating",
    "isArchived": true,
    "type": "standardni",
    "submissionType": "prepazka",
    "documentationType": "dsps",
    "new": "2025-04-26T04:28:14.1276594",
    "accepted": "2025-04-26T04:28:14.1276594",
    "rejected": "2025-04-26T04:28:14.1276594",
    "finished": "2025-04-26T04:28:14.1276594",
    "dataOrigin": "geodetickeMereni",
    "buildingCategoryTopography": true,
    "buildingCategoryUtilities": true,
    "buildingTitle": "sample string 5",
    "objectTitle": "sample string 6",
    "geometryPlanNumber": "sample string 7",
    "ownerName": "sample string 8",
    "authorId": 9,
    "author": {
      "name": "sample string 1",
      "surname": "sample string 2",
      "company": "sample string 3",
      "degreeBefore": "sample string 4",
      "degreeAfter": "sample string 5",
      "creatorId": 6,
      "created": "2025-04-26T04:28:14.1276594",
      "editorId": 1,
      "edited": "2025-04-26T04:28:14.1276594",
      "id": 8
    },
    "officerId": 1,
    "officer": {
      "name": "sample string 1",
      "surname": "sample string 2",
      "company": "sample string 3",
      "degreeBefore": "sample string 4",
      "degreeAfter": "sample string 5",
      "creatorId": 6,
      "created": "2025-04-26T04:28:14.1276594",
      "editorId": 1,
      "edited": "2025-04-26T04:28:14.1276594",
      "id": 8
    },
    "dtmpEditorId": 1,
    "dtmpEditor": {
      "name": "sample string 1",
      "surname": "sample string 2",
      "company": "sample string 3",
      "degreeBefore": "sample string 4",
      "degreeAfter": "sample string 5",
      "creatorId": 6,
      "created": "2025-04-26T04:28:14.1276594",
      "editorId": 1,
      "edited": "2025-04-26T04:28:14.1276594",
      "id": 8
    },
    "cadasters": [
      {
        "code": 1,
        "title": "sample string 2",
        "area": "praha",
        "creatorId": 3,
        "created": "2025-04-26T04:28:14.1276594",
        "editorId": 1,
        "edited": "2025-04-26T04:28:14.1276594",
        "id": 5
      },
      {
        "code": 1,
        "title": "sample string 2",
        "area": "praha",
        "creatorId": 3,
        "created": "2025-04-26T04:28:14.1276594",
        "editorId": 1,
        "edited": "2025-04-26T04:28:14.1276594",
        "id": 5
      }
    ],
    "creator": {
      "name": "sample string 1",
      "surname": "sample string 2",
      "company": "sample string 3",
      "degreeBefore": "sample string 4",
      "degreeAfter": "sample string 5",
      "creatorId": 6,
      "created": "2025-04-26T04:28:14.1276594",
      "editorId": 1,
      "edited": "2025-04-26T04:28:14.1276594",
      "id": 8
    },
    "editor": {
      "name": "sample string 1",
      "surname": "sample string 2",
      "company": "sample string 3",
      "degreeBefore": "sample string 4",
      "degreeAfter": "sample string 5",
      "creatorId": 6,
      "created": "2025-04-26T04:28:14.1276594",
      "editorId": 1,
      "edited": "2025-04-26T04:28:14.1276594",
      "id": 8
    },
    "creatorId": 10,
    "created": "2025-04-26T04:28:14.1276594",
    "editorId": 1,
    "edited": "2025-04-26T04:28:14.1276594",
    "id": 12
  },
  "replacesDocs": [
    {
      "number": "sample string 1",
      "state": "creating",
      "isArchived": true,
      "type": "standardni",
      "submissionType": "prepazka",
      "documentationType": "dsps",
      "new": "2025-04-26T04:28:14.1276594",
      "accepted": "2025-04-26T04:28:14.1276594",
      "rejected": "2025-04-26T04:28:14.1276594",
      "finished": "2025-04-26T04:28:14.1276594",
      "dataOrigin": "geodetickeMereni",
      "buildingCategoryTopography": true,
      "buildingCategoryUtilities": true,
      "buildingTitle": "sample string 5",
      "objectTitle": "sample string 6",
      "geometryPlanNumber": "sample string 7",
      "ownerName": "sample string 8",
      "authorId": 9,
      "author": {
        "name": "sample string 1",
        "surname": "sample string 2",
        "company": "sample string 3",
        "degreeBefore": "sample string 4",
        "degreeAfter": "sample string 5",
        "creatorId": 6,
        "created": "2025-04-26T04:28:14.1276594",
        "editorId": 1,
        "edited": "2025-04-26T04:28:14.1276594",
        "id": 8
      },
      "officerId": 1,
      "officer": {
        "name": "sample string 1",
        "surname": "sample string 2",
        "company": "sample string 3",
        "degreeBefore": "sample string 4",
        "degreeAfter": "sample string 5",
        "creatorId": 6,
        "created": "2025-04-26T04:28:14.1276594",
        "editorId": 1,
        "edited": "2025-04-26T04:28:14.1276594",
        "id": 8
      },
      "dtmpEditorId": 1,
      "dtmpEditor": {
        "name": "sample string 1",
        "surname": "sample string 2",
        "company": "sample string 3",
        "degreeBefore": "sample string 4",
        "degreeAfter": "sample string 5",
        "creatorId": 6,
        "created": "2025-04-26T04:28:14.1276594",
        "editorId": 1,
        "edited": "2025-04-26T04:28:14.1276594",
        "id": 8
      },
      "cadasters": [
        {
          "code": 1,
          "title": "sample string 2",
          "area": "praha",
          "creatorId": 3,
          "created": "2025-04-26T04:28:14.1276594",
          "editorId": 1,
          "edited": "2025-04-26T04:28:14.1276594",
          "id": 5
        },
        {
          "code": 1,
          "title": "sample string 2",
          "area": "praha",
          "creatorId": 3,
          "created": "2025-04-26T04:28:14.1276594",
          "editorId": 1,
          "edited": "2025-04-26T04:28:14.1276594",
          "id": 5
        }
      ],
      "creator": {
        "name": "sample string 1",
        "surname": "sample string 2",
        "company": "sample string 3",
        "degreeBefore": "sample string 4",
        "degreeAfter": "sample string 5",
        "creatorId": 6,
        "created": "2025-04-26T04:28:14.1276594",
        "editorId": 1,
        "edited": "2025-04-26T04:28:14.1276594",
        "id": 8
      },
      "editor": {
        "name": "sample string 1",
        "surname": "sample string 2",
        "company": "sample string 3",
        "degreeBefore": "sample string 4",
        "degreeAfter": "sample string 5",
        "creatorId": 6,
        "created": "2025-04-26T04:28:14.1276594",
        "editorId": 1,
        "edited": "2025-04-26T04:28:14.1276594",
        "id": 8
      },
      "creatorId": 10,
      "created": "2025-04-26T04:28:14.1276594",
      "editorId": 1,
      "edited": "2025-04-26T04:28:14.1276594",
      "id": 12
    },
    {
      "number": "sample string 1",
      "state": "creating",
      "isArchived": true,
      "type": "standardni",
      "submissionType": "prepazka",
      "documentationType": "dsps",
      "new": "2025-04-26T04:28:14.1276594",
      "accepted": "2025-04-26T04:28:14.1276594",
      "rejected": "2025-04-26T04:28:14.1276594",
      "finished": "2025-04-26T04:28:14.1276594",
      "dataOrigin": "geodetickeMereni",
      "buildingCategoryTopography": true,
      "buildingCategoryUtilities": true,
      "buildingTitle": "sample string 5",
      "objectTitle": "sample string 6",
      "geometryPlanNumber": "sample string 7",
      "ownerName": "sample string 8",
      "authorId": 9,
      "author": {
        "name": "sample string 1",
        "surname": "sample string 2",
        "company": "sample string 3",
        "degreeBefore": "sample string 4",
        "degreeAfter": "sample string 5",
        "creatorId": 6,
        "created": "2025-04-26T04:28:14.1276594",
        "editorId": 1,
        "edited": "2025-04-26T04:28:14.1276594",
        "id": 8
      },
      "officerId": 1,
      "officer": {
        "name": "sample string 1",
        "surname": "sample string 2",
        "company": "sample string 3",
        "degreeBefore": "sample string 4",
        "degreeAfter": "sample string 5",
        "creatorId": 6,
        "created": "2025-04-26T04:28:14.1276594",
        "editorId": 1,
        "edited": "2025-04-26T04:28:14.1276594",
        "id": 8
      },
      "dtmpEditorId": 1,
      "dtmpEditor": {
        "name": "sample string 1",
        "surname": "sample string 2",
        "company": "sample string 3",
        "degreeBefore": "sample string 4",
        "degreeAfter": "sample string 5",
        "creatorId": 6,
        "created": "2025-04-26T04:28:14.1276594",
        "editorId": 1,
        "edited": "2025-04-26T04:28:14.1276594",
        "id": 8
      },
      "cadasters": [
        {
          "code": 1,
          "title": "sample string 2",
          "area": "praha",
          "creatorId": 3,
          "created": "2025-04-26T04:28:14.1276594",
          "editorId": 1,
          "edited": "2025-04-26T04:28:14.1276594",
          "id": 5
        },
        {
          "code": 1,
          "title": "sample string 2",
          "area": "praha",
          "creatorId": 3,
          "created": "2025-04-26T04:28:14.1276594",
          "editorId": 1,
          "edited": "2025-04-26T04:28:14.1276594",
          "id": 5
        }
      ],
      "creator": {
        "name": "sample string 1",
        "surname": "sample string 2",
        "company": "sample string 3",
        "degreeBefore": "sample string 4",
        "degreeAfter": "sample string 5",
        "creatorId": 6,
        "created": "2025-04-26T04:28:14.1276594",
        "editorId": 1,
        "edited": "2025-04-26T04:28:14.1276594",
        "id": 8
      },
      "editor": {
        "name": "sample string 1",
        "surname": "sample string 2",
        "company": "sample string 3",
        "degreeBefore": "sample string 4",
        "degreeAfter": "sample string 5",
        "creatorId": 6,
        "created": "2025-04-26T04:28:14.1276594",
        "editorId": 1,
        "edited": "2025-04-26T04:28:14.1276594",
        "id": 8
      },
      "creatorId": 10,
      "created": "2025-04-26T04:28:14.1276594",
      "editorId": 1,
      "edited": "2025-04-26T04:28:14.1276594",
      "id": 12
    }
  ],
  "stateHistories": [
    {
      "date": "2025-04-26T04:28:14.1276594",
      "oldState": "creating",
      "newState": "creating",
      "reason": "nahrazena",
      "note": "sample string 2",
      "userId": 3,
      "user": {
        "name": "sample string 1",
        "surname": "sample string 2",
        "company": "sample string 3",
        "degreeBefore": "sample string 4",
        "degreeAfter": "sample string 5",
        "creatorId": 6,
        "created": "2025-04-26T04:28:14.1276594",
        "editorId": 1,
        "edited": "2025-04-26T04:28:14.1276594",
        "id": 8
      },
      "id": 4
    },
    {
      "date": "2025-04-26T04:28:14.1276594",
      "oldState": "creating",
      "newState": "creating",
      "reason": "nahrazena",
      "note": "sample string 2",
      "userId": 3,
      "user": {
        "name": "sample string 1",
        "surname": "sample string 2",
        "company": "sample string 3",
        "degreeBefore": "sample string 4",
        "degreeAfter": "sample string 5",
        "creatorId": 6,
        "created": "2025-04-26T04:28:14.1276594",
        "editorId": 1,
        "edited": "2025-04-26T04:28:14.1276594",
        "id": 8
      },
      "id": 4
    }
  ],
  "region": {
    "wkt": "sample string 1",
    "envelope": {
      "xMin": 1.0,
      "yMin": 2.0,
      "xMax": 3.0,
      "yMax": 4.0
    }
  },
  "stateTransitions": [
    {
      "state": "creating",
      "reasons": [
        "nahrazena",
        "nahrazena"
      ],
      "unmetRequirements": [
        "e0001",
        "e0001"
      ],
      "canHappen": false
    },
    {
      "state": "creating",
      "reasons": [
        "nahrazena",
        "nahrazena"
      ],
      "unmetRequirements": [
        "e0001",
        "e0001"
      ],
      "canHappen": false
    }
  ],
  "hasProtocol": true,
  "canEditProperties": true,
  "canEditAttachments": true,
  "canEditRegion": true,
  "missingAttachments": {
    "e0001": "sample string 1"
  },
  "hasAllRequiredAttachments": false,
  "number": "sample string 11",
  "state": "creating",
  "isArchived": true,
  "type": "standardni",
  "submissionType": "prepazka",
  "documentationType": "dsps",
  "new": "2025-04-26T04:28:14.1276594",
  "accepted": "2025-04-26T04:28:14.1276594",
  "rejected": "2025-04-26T04:28:14.1276594",
  "finished": "2025-04-26T04:28:14.1276594",
  "dataOrigin": "geodetickeMereni",
  "buildingCategoryTopography": true,
  "buildingCategoryUtilities": true,
  "buildingTitle": "sample string 15",
  "objectTitle": "sample string 16",
  "geometryPlanNumber": "sample string 17",
  "ownerName": "sample string 18",
  "authorId": 19,
  "author": {
    "name": "sample string 1",
    "surname": "sample string 2",
    "company": "sample string 3",
    "degreeBefore": "sample string 4",
    "degreeAfter": "sample string 5",
    "creatorId": 6,
    "created": "2025-04-26T04:28:14.1276594",
    "editorId": 1,
    "edited": "2025-04-26T04:28:14.1276594",
    "id": 8
  },
  "officerId": 1,
  "officer": {
    "name": "sample string 1",
    "surname": "sample string 2",
    "company": "sample string 3",
    "degreeBefore": "sample string 4",
    "degreeAfter": "sample string 5",
    "creatorId": 6,
    "created": "2025-04-26T04:28:14.1276594",
    "editorId": 1,
    "edited": "2025-04-26T04:28:14.1276594",
    "id": 8
  },
  "dtmpEditorId": 1,
  "dtmpEditor": {
    "name": "sample string 1",
    "surname": "sample string 2",
    "company": "sample string 3",
    "degreeBefore": "sample string 4",
    "degreeAfter": "sample string 5",
    "creatorId": 6,
    "created": "2025-04-26T04:28:14.1276594",
    "editorId": 1,
    "edited": "2025-04-26T04:28:14.1276594",
    "id": 8
  },
  "cadasters": [
    {
      "code": 1,
      "title": "sample string 2",
      "area": "praha",
      "creatorId": 3,
      "created": "2025-04-26T04:28:14.1276594",
      "editorId": 1,
      "edited": "2025-04-26T04:28:14.1276594",
      "id": 5
    },
    {
      "code": 1,
      "title": "sample string 2",
      "area": "praha",
      "creatorId": 3,
      "created": "2025-04-26T04:28:14.1276594",
      "editorId": 1,
      "edited": "2025-04-26T04:28:14.1276594",
      "id": 5
    }
  ],
  "creator": {
    "name": "sample string 1",
    "surname": "sample string 2",
    "company": "sample string 3",
    "degreeBefore": "sample string 4",
    "degreeAfter": "sample string 5",
    "creatorId": 6,
    "created": "2025-04-26T04:28:14.1276594",
    "editorId": 1,
    "edited": "2025-04-26T04:28:14.1276594",
    "id": 8
  },
  "editor": {
    "name": "sample string 1",
    "surname": "sample string 2",
    "company": "sample string 3",
    "degreeBefore": "sample string 4",
    "degreeAfter": "sample string 5",
    "creatorId": 6,
    "created": "2025-04-26T04:28:14.1276594",
    "editorId": 1,
    "edited": "2025-04-26T04:28:14.1276594",
    "id": 8
  },
  "creatorId": 20,
  "created": "2025-04-26T04:28:14.1276594",
  "editorId": 1,
  "edited": "2025-04-26T04:28:14.1276594",
  "id": 22
}