For clean Markdown of any page, append .md to the page URL. For a complete documentation index, see https://docs.ivfprovider.com/ivf-agency-ap-is/egg-donor/llms.txt. For full documentation content, see https://docs.ivfprovider.com/ivf-agency-ap-is/egg-donor/llms-full.txt.

# View

GET http://localhost:8000/api/egg-donors/{id}

Reference: https://docs.ivfprovider.com/ivf-agency-ap-is/egg-donor/view

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /api/egg-donors/{id}:
    get:
      operationId: view
      summary: View
      tags:
        - subpackage_eggDonor
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: Authorization
          in: header
          description: Bearer authentication
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Egg Donor_View_Response_200'
servers:
  - url: http://localhost:8000
components:
  schemas:
    ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserStatus:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        class:
          type: string
        type:
          type: string
        translated_name:
          type: string
      required:
        - id
        - name
        - class
        - type
        - translated_name
      title: ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserStatus
    ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUser:
      type: object
      properties:
        id:
          type: integer
        agency_id:
          type: integer
        full_name:
          type: string
        first_name:
          type: string
        last_name:
          type: string
        middle_name:
          description: Any type
        email:
          type: string
          format: email
        unique_id:
          type: string
        stripe_customer_id:
          description: Any type
        is_premium:
          type: boolean
        ip_whitelist_enabled:
          type: boolean
        profile_percentage:
          type: integer
        reason:
          description: Any type
        profile_picture:
          description: Any type
        status_id:
          type: integer
        status:
          $ref: >-
            #/components/schemas/ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserStatus
      required:
        - id
        - agency_id
        - full_name
        - first_name
        - last_name
        - email
        - unique_id
        - is_premium
        - ip_whitelist_enabled
        - profile_percentage
        - status_id
        - status
      title: ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUser
    ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileRace:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        race_value:
          type: string
      required:
        - id
        - name
        - race_value
      title: ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileRace
    ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileHeight:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
      required:
        - id
        - name
      title: ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileHeight
    ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileWeight:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
      required:
        - id
        - name
      title: ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileWeight
    ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileBloodType:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
      required:
        - id
        - name
      title: >-
        ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileBloodType
    ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileEthnicity:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
      required:
        - id
        - name
      title: >-
        ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileEthnicity
    ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileEducationLevel:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
      required:
        - id
        - name
      title: >-
        ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileEducationLevel
    ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileReligion:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
      required:
        - id
        - name
      title: >-
        ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileReligion
    ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileMaritalStatus:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
      required:
        - id
        - name
      title: >-
        ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileMaritalStatus
    ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfile:
      type: object
      properties:
        user_id:
          type: integer
        mobile_phone:
          type: string
        mobile_phone_country:
          type: string
        home_phone:
          type: string
        home_phone_country:
          type: string
        description:
          type: string
        date_of_birth:
          type: string
          format: date
        birth_country_id:
          type: integer
        race_id:
          type: integer
        race:
          $ref: >-
            #/components/schemas/ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileRace
        height_id:
          type: integer
        height:
          $ref: >-
            #/components/schemas/ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileHeight
        weight_id:
          type: integer
        weight:
          $ref: >-
            #/components/schemas/ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileWeight
        bmi:
          type: string
        blood_type_id:
          type: integer
        blood_type:
          $ref: >-
            #/components/schemas/ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileBloodType
        ethnicity_id:
          type: integer
        ethnicity:
          $ref: >-
            #/components/schemas/ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileEthnicity
        education_level_id:
          type: integer
        education_level:
          $ref: >-
            #/components/schemas/ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileEducationLevel
        religion_id:
          type: integer
        religion:
          $ref: >-
            #/components/schemas/ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileReligion
        marital_status_id:
          type: integer
        marital_status:
          $ref: >-
            #/components/schemas/ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfileMaritalStatus
        occupation:
          type: string
        language_id:
          type: integer
        other_languages:
          type: string
        english_fluency:
          type: string
        donor_type_id:
          type: integer
        citizenship:
          type: string
        eye_color_id:
          type: integer
        eye_wear_id:
          type: integer
        eye_size_id:
          type: integer
        hair_color_id:
          type: integer
        hair_type_id:
          type: integer
        hair_texture_id:
          type: integer
        skin_tone_id:
          type: integer
        skin_condition_id:
          type: integer
        nose_size_id:
          type: integer
        freckles_id:
          type: integer
        vision:
          type: string
        teeth_condition:
          type: string
        orthodontic_appliances:
          type: string
        predominantly:
          type: string
        distinguishing_characteristics:
          type: string
        hearing_impairments:
          type: string
        zodiac_sign_id:
          description: Any type
        other_mixed:
          type: string
        childhood:
          type: string
        genetic_screening:
          type: string
        skin_complexion_id:
          type: integer
        contact_lenses:
          type: string
        predominant_hand:
          type: string
        birthmarks:
          type: string
        have_children:
          type: string
        hearing_problems:
          type: string
        ever_egg_donor:
          type: string
        physical_build_id:
          type: integer
        desirable_qualities:
          type: string
        additional_info:
          type: string
        compensation:
          type: string
      required:
        - user_id
        - mobile_phone
        - mobile_phone_country
        - home_phone
        - home_phone_country
        - description
        - date_of_birth
        - birth_country_id
        - race_id
        - race
        - height_id
        - height
        - weight_id
        - weight
        - bmi
        - blood_type_id
        - blood_type
        - ethnicity_id
        - ethnicity
        - education_level_id
        - education_level
        - religion_id
        - religion
        - marital_status_id
        - marital_status
        - occupation
        - language_id
        - other_languages
        - english_fluency
        - donor_type_id
        - citizenship
        - eye_color_id
        - eye_wear_id
        - eye_size_id
        - hair_color_id
        - hair_type_id
        - hair_texture_id
        - skin_tone_id
        - skin_condition_id
        - nose_size_id
        - freckles_id
        - vision
        - teeth_condition
        - orthodontic_appliances
        - predominantly
        - distinguishing_characteristics
        - hearing_impairments
        - other_mixed
        - childhood
        - genetic_screening
        - skin_complexion_id
        - contact_lenses
        - predominant_hand
        - birthmarks
        - have_children
        - hearing_problems
        - ever_egg_donor
        - physical_build_id
        - desirable_qualities
        - additional_info
        - compensation
      title: ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfile
    ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaAgency:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        email:
          type: string
          format: email
        mobile_phone:
          type: string
        mobile_phone_country:
          type: string
      required:
        - id
        - name
        - email
        - mobile_phone
        - mobile_phone_country
      title: ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaAgency
    ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaAddress:
      type: object
      properties:
        street_address:
          type: string
        residence:
          type: string
        country_id:
          type: integer
        state_id:
          type: integer
        city:
          type: string
        zip_code:
          type: string
      required:
        - street_address
        - residence
        - country_id
        - state_id
        - city
        - zip_code
      title: ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaAddress
    ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaEmergencyContact:
      type: object
      properties:
        id:
          type: integer
        first_name:
          type: string
        last_name:
          type: string
        middle_name:
          description: Any type
        relationship:
          type: string
        home_phone:
          type: string
        home_phone_country:
          type: string
        mobile_phone:
          type: string
        mobile_phone_country:
          type: string
        email:
          type: string
          format: email
        living_country_id:
          type: integer
        street_address:
          type: string
        country_id:
          type: integer
        state_id:
          type: integer
        city:
          type: string
        zip_code:
          type: string
        note:
          description: Any type
      required:
        - id
        - first_name
        - last_name
        - relationship
        - home_phone
        - home_phone_country
        - mobile_phone
        - mobile_phone_country
        - email
        - living_country_id
        - street_address
        - country_id
        - state_id
        - city
        - zip_code
      title: ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaEmergencyContact
    ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaAbilitiesAndTalents:
      type: object
      properties:
        id:
          type: integer
        math:
          type: integer
        science:
          type: integer
        english:
          type: integer
        history:
          type: integer
        computers:
          type: integer
        art:
          type: integer
        music:
          type: integer
        athletic:
          type: integer
        fav_subject:
          type: string
      required:
        - id
        - math
        - science
        - english
        - history
        - computers
        - art
        - music
        - athletic
        - fav_subject
      title: >-
        ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaAbilitiesAndTalents
    Egg Donor_View_Response_200:
      type: object
      properties:
        user:
          $ref: >-
            #/components/schemas/ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUser
        user_profile:
          $ref: >-
            #/components/schemas/ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaUserProfile
        agency:
          $ref: >-
            #/components/schemas/ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaAgency
        address:
          $ref: >-
            #/components/schemas/ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaAddress
        emergency_contact:
          $ref: >-
            #/components/schemas/ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaEmergencyContact
        abilities_and_talents:
          $ref: >-
            #/components/schemas/ApiEggDonorsIdGetResponsesContentApplicationJsonSchemaAbilitiesAndTalents
      required:
        - user
        - user_profile
        - agency
        - address
        - emergency_contact
        - abilities_and_talents
      title: Egg Donor_View_Response_200
  securitySchemes:
    oauth2Auth:
      type: http
      scheme: bearer

```

## SDK Code Examples

```python Egg Donor_View_example
import requests

url = "http://localhost:8000/api/egg-donors/20"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Egg Donor_View_example
const url = 'http://localhost:8000/api/egg-donors/20';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Egg Donor_View_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "http://localhost:8000/api/egg-donors/20"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Egg Donor_View_example
require 'uri'
require 'net/http'

url = URI("http://localhost:8000/api/egg-donors/20")

http = Net::HTTP.new(url.host, url.port)

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Egg Donor_View_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("http://localhost:8000/api/egg-donors/20")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Egg Donor_View_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'http://localhost:8000/api/egg-donors/20', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp Egg Donor_View_example
using RestSharp;

var client = new RestClient("http://localhost:8000/api/egg-donors/20");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Egg Donor_View_example
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "http://localhost:8000/api/egg-donors/20")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```