{"source":"stortinget","operation":"get_vote_result","description":"Get the per-representative result of a single vote (voteringsresultat):\nhow each representative voted. Signature: get_vote_result(vote_id: integer, required; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","signature":"get_vote_result(vote_id: integer, required; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0)","parameters":[{"name":"vote_id","type":"integer","schema":{"type":"integer"},"required":true,"default":null,"description":"A numeric vote id (votering_id from get_votes_for_case).","unit":null},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100).","unit":"items"},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page.","unit":"items"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_vote_result?vote_id={vote_id}&limit=25&offset=0","schema_scope":"#/data in the successful operation envelope","response_schema":{"type":"object","properties":{"votering_id":{"type":["integer","null"]},"voteringsresultat_liste":{"type":"array","items":{"type":"object","properties":{"representant":{"anyOf":[{"type":"object","properties":{"id":{"type":["string","null"]},"fornavn":{"type":["string","null"]},"etternavn":{"type":["string","null"]},"kjoenn":{"type":["string","integer","null"]},"foedselsdato":{"type":["string","null"],"format":"date-time"},"doedsdato":{"type":["string","null"],"format":"date-time"},"fylke":{"type":"object","properties":{"id":{"type":["string","null"]},"navn":{"type":["string","null"]},"historisk_fylke":{"type":["boolean","null"]}},"additionalProperties":false},"parti":{"type":"object","properties":{"id":{"type":["string","null"]},"navn":{"type":["string","null"]},"representert_parti":{"type":["boolean","null"]}},"additionalProperties":false},"vara_representant":{"type":["boolean","null"]}},"additionalProperties":false},{"type":"null"}]},"vara_for":{"anyOf":[{"type":"object","properties":{"id":{"type":["string","null"]},"fornavn":{"type":["string","null"]},"etternavn":{"type":["string","null"]},"kjoenn":{"type":["string","integer","null"]},"foedselsdato":{"type":["string","null"],"format":"date-time"},"doedsdato":{"type":["string","null"],"format":"date-time"},"fylke":{"type":"object","properties":{"id":{"type":["string","null"]},"navn":{"type":["string","null"]},"historisk_fylke":{"type":["boolean","null"]}},"additionalProperties":false},"parti":{"type":"object","properties":{"id":{"type":["string","null"]},"navn":{"type":["string","null"]},"representert_parti":{"type":["boolean","null"]}},"additionalProperties":false},"vara_representant":{"type":["boolean","null"]}},"additionalProperties":false},{"type":"null"}]},"fast_vara_for":{"anyOf":[{"type":"object","properties":{"id":{"type":["string","null"]},"fornavn":{"type":["string","null"]},"etternavn":{"type":["string","null"]},"kjoenn":{"type":["string","integer","null"]},"foedselsdato":{"type":["string","null"],"format":"date-time"},"doedsdato":{"type":["string","null"],"format":"date-time"},"fylke":{"type":"object","properties":{"id":{"type":["string","null"]},"navn":{"type":["string","null"]},"historisk_fylke":{"type":["boolean","null"]}},"additionalProperties":false},"parti":{"type":"object","properties":{"id":{"type":["string","null"]},"navn":{"type":["string","null"]},"representert_parti":{"type":["boolean","null"]}},"additionalProperties":false},"vara_representant":{"type":["boolean","null"]}},"additionalProperties":false},{"type":"null"}]},"votering":{"type":["integer","string","null"]}}}}},"required":["voteringsresultat_liste"]},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"intentionally_none","entity_types":[],"description":"No stable cross-source entity projection is defined for this operation; entities is intentionally empty."},"error_contract":{"scope":"top-level HTTP error response; never part of a success payload","schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object"}},"additionalProperties":false,"required":["code","message","retryable"]},"suggestion":{"type":"string"},"_meta":{"type":"object","properties":{"retrieved_at":{"type":"string","format":"date-time"},"language":{"type":"string","const":"en"},"content_languages":{"type":"array","items":{"type":"string"}},"sources":{"type":"array","items":{"type":"object"}}},"required":["retrieved_at","language","content_languages","sources"]},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"api_index":{"type":"string","format":"uri"},"feedback":{"type":"string","format":"uri"}},"required":["self","api_index","feedback"],"additionalProperties":false}},"additionalProperties":false,"required":["error","suggestion","_meta","_links"]},"statuses":{"400":{"codes":["MISSING_PARAMETER","INVALID_PARAMETER","INVALID_REQUEST"],"retryable":false},"404":{"codes":["SOURCE_NOT_FOUND","OPERATION_NOT_FOUND","ENTITY_NOT_FOUND"],"retryable":false},"429":{"codes":["RATE_LIMITED","GATEWAY_RATE_LIMITED"],"retryable":true},"502":{"codes":["SOURCE_UNAVAILABLE"],"retryable":true},"500":{"codes":["INTERNAL_ERROR"],"retryable":true}}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_vote_result/schema","operation":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_vote_result","source":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"},"output_fields":["votering_id","voteringsresultat_liste","voteringsresultat_liste[].representant","voteringsresultat_liste[].representant.id","voteringsresultat_liste[].representant.fornavn","voteringsresultat_liste[].representant.etternavn","voteringsresultat_liste[].representant.kjoenn","voteringsresultat_liste[].representant.foedselsdato","voteringsresultat_liste[].representant.doedsdato","voteringsresultat_liste[].representant.fylke","voteringsresultat_liste[].representant.fylke.id","voteringsresultat_liste[].representant.fylke.navn","voteringsresultat_liste[].representant.fylke.historisk_fylke","voteringsresultat_liste[].representant.parti","voteringsresultat_liste[].representant.parti.id","voteringsresultat_liste[].representant.parti.navn","voteringsresultat_liste[].representant.parti.representert_parti","voteringsresultat_liste[].representant.vara_representant","voteringsresultat_liste[].vara_for","voteringsresultat_liste[].vara_for.id","voteringsresultat_liste[].vara_for.fornavn","voteringsresultat_liste[].vara_for.etternavn","voteringsresultat_liste[].vara_for.kjoenn","voteringsresultat_liste[].vara_for.foedselsdato","voteringsresultat_liste[].vara_for.doedsdato","voteringsresultat_liste[].vara_for.fylke","voteringsresultat_liste[].vara_for.fylke.id","voteringsresultat_liste[].vara_for.fylke.navn","voteringsresultat_liste[].vara_for.fylke.historisk_fylke","voteringsresultat_liste[].vara_for.parti"],"output_fields_truncated":true,"canonical_field_aliases":{"identifier":["voteringsresultat_liste[].representant.id","voteringsresultat_liste[].representant.fylke.id","voteringsresultat_liste[].representant.parti.id","voteringsresultat_liste[].vara_for.id","voteringsresultat_liste[].vara_for.fylke.id","voteringsresultat_liste[].vara_for.parti.id","voteringsresultat_liste[].fast_vara_for.id","voteringsresultat_liste[].fast_vara_for.fylke.id","voteringsresultat_liste[].fast_vara_for.parti.id"],"name":["voteringsresultat_liste[].representant.fylke.navn","voteringsresultat_liste[].representant.parti.navn","voteringsresultat_liste[].vara_for.fylke.navn","voteringsresultat_liste[].vara_for.parti.navn","voteringsresultat_liste[].fast_vara_for.fylke.navn","voteringsresultat_liste[].fast_vara_for.parti.navn"]},"response_example":{"source":"stortinget","operation":"get_vote_result","parameters":{"vote_id":1},"data":{"votering_id":1,"voteringsresultat_liste":[{"representant":{"id":"example-id","fornavn":"example value","etternavn":"example value","kjoenn":"example value","foedselsdato":"2026-01-15T12:00:00Z","doedsdato":"2026-01-15T12:00:00Z","fylke":{"id":"example-id","navn":"example value","historisk_fylke":true},"parti":{"id":"example-id","navn":"example value","representert_parti":true},"vara_representant":true},"vara_for":{"id":"example-id","fornavn":"example value","etternavn":"example value","kjoenn":"example value","foedselsdato":"2026-01-15T12:00:00Z","doedsdato":"2026-01-15T12:00:00Z","fylke":{"id":"example-id","navn":"example value","historisk_fylke":true},"parti":{"id":"example-id","navn":"example value","representert_parti":true},"vara_representant":true},"fast_vara_for":{"id":"example-id","fornavn":"example value","etternavn":"example value","kjoenn":"example value","foedselsdato":"2026-01-15T12:00:00Z","doedsdato":"2026-01-15T12:00:00Z","fylke":{"id":"example-id","navn":"example value","historisk_fylke":true},"parti":{"id":"example-id","navn":"example value","representert_parti":true},"vara_representant":true},"votering":1}]},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"stortinget","name":"Stortinget open data","description":"Parliamentary representatives, questions, hearings, meetings, cases, votes and election results.","cache_ttl_seconds":300,"documentation":"https://data.stortinget.no/"}]},"_provenance":{"data":{"source":"stortinget","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget"},"entities":{"source":"stortinget","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_vote_result","source":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget","wiki":"https://allemannsdata.com/wiki/kilder/stortinget/get_vote_result/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}}
