Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

Commit

Permalink
Oppdatert ordlyd
Browse files Browse the repository at this point in the history
  • Loading branch information
runely committed Nov 16, 2021
1 parent 9a1bf05 commit b3c3b3f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ No input or output. Changes will be fetched from IDM
### ```POST /SyncElevmappe```
- Create **PrivatePerson** on person if one doesn't exist
- Updates name and address on **PrivatePerson** if one already exists
- Updates ssn for **PrivatePerson** if parameter *oldSsn* is passed, or if new ssn is found in Det sentrale folkeregister
- Updates ssn for **PrivatePerson** if parameter *oldSsn* is passed, or if new ssn is found in `Det sentrale folkeregister`
- Create **Elevmappe** on user if one doesn't exist
- Updates case contact and name on **Elevmappe** if one already exists
- Grants reading permissions to *newSchools* on relevant documents in **Elevmappe** if parameter *newSchools* is passed
Expand All @@ -190,7 +190,7 @@ Fetches person info from [Det sentrale folkeregister](/~https://github.com/vtfk/az
```

#### `Optional: With old ssn and new ssn as parameter (for updating ssn on PrivatePerson)`
Either updates the PrivatePerson with new ssn, if person exists on old ssn, or creates new PrivatePerson on the new ssn
Either updates the **PrivatePerson** with new ssn, if person exists on old ssn, or creates new **PrivatePerson** with new ssn
```json
{
"ssn": "01010101011",
Expand All @@ -199,7 +199,7 @@ Either updates the PrivatePerson with new ssn, if person exists on old ssn, or c
```

#### `Optional: With newSchools as parameter, for granting reading permissions for new school(s)`
Must be array of school(s), where each school is the full name of the school. [See available school names here](/~https://github.com/vtfk/vtfk-schools-info/blob/master/lib/data/schools.json)
Must be array of school(s), where each school is the official name of the school. [See available school names here](/~https://github.com/vtfk/vtfk-schools-info/blob/master/lib/data/schools.json)
```json
{
"ssn": "01010101011",
Expand Down

0 comments on commit b3c3b3f

Please sign in to comment.