UpagrahaPartNumber
UpagrahaPartNumber(TimeinputTime,PlanetNameEnuminputPlanet)
Returns the numbered bUpagraha planetary partb for a planet at a given time. The method 1. checks whether the time falls in a day birth or night birth context 2. selects the matching weekday rule table 3. returns the part number from c1c to c8c for the requested planet.
Parameters
| Name | Type | Description |
|---|---|---|
inputTime |
Time |
The time whose daynight context and weekday should be used. |
inputPlanet |
PlanetName+PlanetNameEnum |
The planetary ruler whose part number is required. |
Calling this method
Endpoint base: https://api.vedastro.org/api/Calculate/UpagrahaPartNumber
Most Calculate methods accept parameters either as URL path segments (GET) or as a JSON body (POST), keyed by parameter name. The exact request shape varies per method — see the Getting Started guide for the response envelope, StdTime format, and Ayanamsa conventions that apply across the API. Use the "Try it" panel below to build and send a real request and see the exact call this method expects.
Loading try-it widget…