POST API/V1/Mobile/Authorization/Patients

Request Information

URI Parameters

None.

Body Parameters

iMDsoft.API.Metavision.Data.Authorization.PatientSearchOptions
NameDescriptionTypeAdditional information
PatientsIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "patientsIds": [
    1,
    2
  ]
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PatientSearchOptions'.

Response Information

Resource Description

Collection of iMDsoft.API.Metavision.Data.Authorization.AvilablelPatientAuthorization
NameDescriptionTypeAdditional information
PatientId

integer

None.

Permission

iMDsoft.API.Metavision.Data.Authorization.PatientPermissionsEnum

None.

ReadSourceOfAccess

iMDsoft.API.Metavision.Data.Authorization.SourceOfAccessEnum

None.

WriteSourceOfAccess

iMDsoft.API.Metavision.Data.Authorization.SourceOfAccessEnum

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "patientId": 1,
    "permission": 0,
    "readSourceOfAccess": 0,
    "writeSourceOfAccess": 0
  },
  {
    "patientId": 1,
    "permission": 0,
    "readSourceOfAccess": 0,
    "writeSourceOfAccess": 0
  }
]