> ## Documentation Index
> Fetch the complete documentation index at: https://dev-docs.nestapi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Request a ReportSource response for a nesting Result

> This endpoint requires calling with your ApiKey <br /><b>RequestId</b><br /> <br /> RequestId to get result from<br /><b>ResultIdentity</b> <br /> ResultId for the result you wish to fetch<br />



## OpenAPI

````yaml /openapi.json post /v1/nesting/result/
openapi: 3.0.0
info:
  title: NestAPI
  version: '1.0'
servers:
  - description: Staging
    url: https://dev.api.nestapi.com
security: []
tags:
  - name: account
    description: API key and account management
  - name: ApiAdmin
  - name: auth
  - name: fairness
    description: >-
      Per-customer nesting-minutes fairness config, weights and usage (requires
      an Admin API key)
  - name: importer
  - name: nesting
    description: Submit nesting jobs, retrieve results and exports
  - name: public
    description: Health check and public utility endpoints
paths:
  /v1/nesting/result/:
    parameters:
      - $ref: '#/components/parameters/Accept'
    post:
      tags:
        - nesting
      summary: Request a ReportSource response for a nesting Result
      description: >-
        This endpoint requires calling with your ApiKey <br
        /><b>RequestId</b><br /> <br /> RequestId to get result from<br
        /><b>ResultIdentity</b> <br /> ResultId for the result you wish to
        fetch<br />
      operationId: FetchNestingResult
      parameters:
        - name: RequestId
          in: query
          x-nullable: false
          schema:
            type: string
        - name: ResultIdentity
          in: query
          x-nullable: false
          schema:
            type: string
        - name: ReportSourceRenderingSettings
          in: query
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FetchNestingResult'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReportSourceResponse'
      deprecated: false
      security:
        - Bearer: []
components:
  parameters:
    Accept:
      name: Accept
      in: header
      description: Accept Header
      required: true
      schema:
        type: string
        enum:
          - application/json
  schemas:
    FetchNestingResult:
      title: FetchNestingResult
      properties:
        RequestId:
          type: string
          nullable: false
        ResultIdentity:
          type: string
          nullable: false
        ReportSourceRenderingSettings:
          $ref: '#/components/schemas/ReportSourceRenderingSettings'
      description: FetchNestingResult
      type: object
    ReportSourceResponse:
      title: ReportSourceResponse
      properties:
        NestData:
          type: array
          items:
            $ref: '#/components/schemas/NestData'
        OverallNestingEfficiency:
          type: number
          format: double
          nullable: false
        OverallSheetUtilization:
          type: number
          format: double
          nullable: false
        NumberOfNests:
          type: integer
          format: int32
          nullable: false
        NumberOfSheets:
          type: integer
          format: int32
          nullable: false
        NumberOfPlacedParts:
          type: integer
          format: int32
          nullable: false
        AreaOfSheetsM2:
          type: number
          format: double
          nullable: false
        AreaOfPlacedPartsM2:
          type: number
          format: double
          nullable: false
        UnplacedParts:
          type: array
          items:
            $ref: '#/components/schemas/UnplacedPartData'
        PlacedParts:
          type: array
          items:
            $ref: '#/components/schemas/PartData'
        MaterialRequirements:
          type: array
          items:
            $ref: '#/components/schemas/MaterialRequirement'
        CutLengthOfAllPlacedPartsMM:
          type: number
          format: double
          nullable: false
        ResultIdentity:
          type: string
      description: ReportSourceResponse
      type: object
    ReportSourceRenderingSettings:
      title: ReportSourceRenderingSettings
      properties:
        NestingRenderSettings:
          $ref: '#/components/schemas/RenderSettings'
        RenderPartLabelMode:
          type: string
        PartLabelHeight:
          type: number
          format: double
        PartPreviewRenderSettings:
          $ref: '#/components/schemas/RenderSettings'
      description: ReportSourceRenderingSettings
      type: object
    NestData:
      title: NestData
      properties:
        Base64EncodedNestRendering:
          type: string
        NestedPartsData:
          type: array
          items:
            $ref: '#/components/schemas/NestedPartData'
        NestEfficiency:
          type: number
          format: double
          nullable: false
        SheetUtilization:
          type: number
          format: double
          nullable: false
        NestingXDimMM:
          type: number
          format: double
          nullable: false
        NestingYDimMM:
          type: number
          format: double
          nullable: false
        SheetDetails:
          $ref: '#/components/schemas/SheetInfo'
        PlacedPartsAreaM2:
          type: number
          format: double
          nullable: false
        Multiplicity:
          type: integer
          format: int32
          nullable: false
        CutLengthOfPlacedPartsMM:
          type: number
          format: double
          nullable: false
        InnerCutLengthOfPlacedPartsMM:
          type: number
          format: double
          nullable: false
        OuterCutLengthOfPlacedPartsMM:
          type: number
          format: double
          nullable: false
        NumberOfRemnants:
          type: integer
          format: int32
          nullable: false
        TotalAreaOfRemnantsMM2:
          type: number
          format: double
          nullable: false
      description: NestData
      type: object
    UnplacedPartData:
      title: UnplacedPartData
      properties:
        UnplacedQuantity:
          type: integer
          format: int32
          nullable: false
        PartIdentifier:
          type: string
        XDimMM:
          type: number
          format: double
          nullable: false
        YDimMM:
          type: number
          format: double
          nullable: false
        AreaMM2:
          type: number
          format: double
          nullable: false
        CutLengthMM:
          type: number
          format: double
          nullable: false
        InnerCutLengthMM:
          type: number
          format: double
          nullable: false
        OuterCutLengthMM:
          type: number
          format: double
          nullable: false
        NumberOfLoops:
          type: integer
          format: int32
          nullable: false
      description: UnplacedPartData
      type: object
    PartData:
      title: PartData
      properties:
        PartIdentifier:
          type: string
        XDimMM:
          type: number
          format: double
          nullable: false
        YDimMM:
          type: number
          format: double
          nullable: false
        AreaMM2:
          type: number
          format: double
          nullable: false
        CutLengthMM:
          type: number
          format: double
          nullable: false
        InnerCutLengthMM:
          type: number
          format: double
          nullable: false
        OuterCutLengthMM:
          type: number
          format: double
          nullable: false
        NumberOfLoops:
          type: integer
          format: int32
          nullable: false
      description: PartData
      type: object
    MaterialRequirement:
      title: MaterialRequirement
      properties:
        Quantity:
          type: integer
          format: int32
          nullable: false
        SheetIdentifier:
          type: string
        XDimMM:
          type: number
          format: double
          nullable: false
        YDimMM:
          type: number
          format: double
          nullable: false
        AreaM2:
          type: number
          format: double
          nullable: false
      description: MaterialRequirement
      type: object
    RenderSettings:
      title: RenderSettings
      properties:
        RenderFormat:
          type: string
        xDimension:
          type: integer
          format: int32
          nullable: false
        yDimension:
          type: integer
          format: int32
          nullable: false
        BackColorARGB:
          type: string
        OutlineLineColorARGB:
          type: string
        PartFillColorARGB:
          type: string
        AutomaticallyChoosePartFillColor:
          type: boolean
          nullable: false
      description: RenderSettings
      type: object
    NestedPartData:
      title: NestedPartData
      properties:
        PartIDInNestPreview:
          type: integer
          format: int32
        Base64EncodedPartPreviewRendering:
          type: string
        PartData:
          $ref: '#/components/schemas/PartData'
        QuantityInNest:
          type: integer
          format: int32
          nullable: false
        QuantityProducedInNest:
          type: integer
          format: int32
          nullable: false
        QuantityInEntireNesting:
          type: integer
          format: int32
          nullable: false
      description: NestedPartData
      type: object
    SheetInfo:
      title: SheetInfo
      properties:
        SheetIdentifier:
          type: string
        XDimMM:
          type: number
          format: double
          nullable: false
        YDimMM:
          type: number
          format: double
          nullable: false
        AreaM2:
          type: number
          format: double
          nullable: false
      description: SheetInfo
      type: object
  securitySchemes:
    Bearer:
      type: apiKey
      name: Authorization
      in: header

````