POST api/KeyNotes/MapData?Id_User={Id_User}&Id_Project={Id_Project}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id_User

integer

Required

Id_Project

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of MapData
NameDescriptionTypeAdditional information
PdfDataList

Collection of PdfData

None.

SpecData

Collection of SpecCodes

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PdfDataList": [
      {
        "Id": 1,
        "PageNumber": 2,
        "PdfTitle": "sample string 3",
        "SKU": "sample string 4",
        "LegendTextList": [
          "sample string 1",
          "sample string 2"
        ]
      },
      {
        "Id": 1,
        "PageNumber": 2,
        "PdfTitle": "sample string 3",
        "SKU": "sample string 4",
        "LegendTextList": [
          "sample string 1",
          "sample string 2"
        ]
      }
    ],
    "SpecData": [
      {
        "Id": 1,
        "Spec_Code": "sample string 2",
        "KeyNotes": [
          {
            "Id": 1,
            "Spec_Code_ID": 2,
            "Legend": "sample string 3",
            "Keynote": "sample string 4"
          },
          {
            "Id": 1,
            "Spec_Code_ID": 2,
            "Legend": "sample string 3",
            "Keynote": "sample string 4"
          }
        ]
      },
      {
        "Id": 1,
        "Spec_Code": "sample string 2",
        "KeyNotes": [
          {
            "Id": 1,
            "Spec_Code_ID": 2,
            "Legend": "sample string 3",
            "Keynote": "sample string 4"
          },
          {
            "Id": 1,
            "Spec_Code_ID": 2,
            "Legend": "sample string 3",
            "Keynote": "sample string 4"
          }
        ]
      }
    ]
  },
  {
    "PdfDataList": [
      {
        "Id": 1,
        "PageNumber": 2,
        "PdfTitle": "sample string 3",
        "SKU": "sample string 4",
        "LegendTextList": [
          "sample string 1",
          "sample string 2"
        ]
      },
      {
        "Id": 1,
        "PageNumber": 2,
        "PdfTitle": "sample string 3",
        "SKU": "sample string 4",
        "LegendTextList": [
          "sample string 1",
          "sample string 2"
        ]
      }
    ],
    "SpecData": [
      {
        "Id": 1,
        "Spec_Code": "sample string 2",
        "KeyNotes": [
          {
            "Id": 1,
            "Spec_Code_ID": 2,
            "Legend": "sample string 3",
            "Keynote": "sample string 4"
          },
          {
            "Id": 1,
            "Spec_Code_ID": 2,
            "Legend": "sample string 3",
            "Keynote": "sample string 4"
          }
        ]
      },
      {
        "Id": 1,
        "Spec_Code": "sample string 2",
        "KeyNotes": [
          {
            "Id": 1,
            "Spec_Code_ID": 2,
            "Legend": "sample string 3",
            "Keynote": "sample string 4"
          },
          {
            "Id": 1,
            "Spec_Code_ID": 2,
            "Legend": "sample string 3",
            "Keynote": "sample string 4"
          }
        ]
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfMapData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication5.Models">
  <MapData>
    <PdfDataList>
      <PdfData>
        <Id>1</Id>
        <LegendTextList xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </LegendTextList>
        <PageNumber>2</PageNumber>
        <PdfTitle>sample string 3</PdfTitle>
        <SKU>sample string 4</SKU>
      </PdfData>
      <PdfData>
        <Id>1</Id>
        <LegendTextList xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </LegendTextList>
        <PageNumber>2</PageNumber>
        <PdfTitle>sample string 3</PdfTitle>
        <SKU>sample string 4</SKU>
      </PdfData>
    </PdfDataList>
    <SpecData>
      <SpecCodes>
        <Id>1</Id>
        <KeyNotes>
          <KeyNotes>
            <Id>1</Id>
            <Keynote>sample string 4</Keynote>
            <Legend>sample string 3</Legend>
            <Spec_Code_ID>2</Spec_Code_ID>
          </KeyNotes>
          <KeyNotes>
            <Id>1</Id>
            <Keynote>sample string 4</Keynote>
            <Legend>sample string 3</Legend>
            <Spec_Code_ID>2</Spec_Code_ID>
          </KeyNotes>
        </KeyNotes>
        <Spec_Code>sample string 2</Spec_Code>
      </SpecCodes>
      <SpecCodes>
        <Id>1</Id>
        <KeyNotes>
          <KeyNotes>
            <Id>1</Id>
            <Keynote>sample string 4</Keynote>
            <Legend>sample string 3</Legend>
            <Spec_Code_ID>2</Spec_Code_ID>
          </KeyNotes>
          <KeyNotes>
            <Id>1</Id>
            <Keynote>sample string 4</Keynote>
            <Legend>sample string 3</Legend>
            <Spec_Code_ID>2</Spec_Code_ID>
          </KeyNotes>
        </KeyNotes>
        <Spec_Code>sample string 2</Spec_Code>
      </SpecCodes>
    </SpecData>
  </MapData>
  <MapData>
    <PdfDataList>
      <PdfData>
        <Id>1</Id>
        <LegendTextList xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </LegendTextList>
        <PageNumber>2</PageNumber>
        <PdfTitle>sample string 3</PdfTitle>
        <SKU>sample string 4</SKU>
      </PdfData>
      <PdfData>
        <Id>1</Id>
        <LegendTextList xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </LegendTextList>
        <PageNumber>2</PageNumber>
        <PdfTitle>sample string 3</PdfTitle>
        <SKU>sample string 4</SKU>
      </PdfData>
    </PdfDataList>
    <SpecData>
      <SpecCodes>
        <Id>1</Id>
        <KeyNotes>
          <KeyNotes>
            <Id>1</Id>
            <Keynote>sample string 4</Keynote>
            <Legend>sample string 3</Legend>
            <Spec_Code_ID>2</Spec_Code_ID>
          </KeyNotes>
          <KeyNotes>
            <Id>1</Id>
            <Keynote>sample string 4</Keynote>
            <Legend>sample string 3</Legend>
            <Spec_Code_ID>2</Spec_Code_ID>
          </KeyNotes>
        </KeyNotes>
        <Spec_Code>sample string 2</Spec_Code>
      </SpecCodes>
      <SpecCodes>
        <Id>1</Id>
        <KeyNotes>
          <KeyNotes>
            <Id>1</Id>
            <Keynote>sample string 4</Keynote>
            <Legend>sample string 3</Legend>
            <Spec_Code_ID>2</Spec_Code_ID>
          </KeyNotes>
          <KeyNotes>
            <Id>1</Id>
            <Keynote>sample string 4</Keynote>
            <Legend>sample string 3</Legend>
            <Spec_Code_ID>2</Spec_Code_ID>
          </KeyNotes>
        </KeyNotes>
        <Spec_Code>sample string 2</Spec_Code>
      </SpecCodes>
    </SpecData>
  </MapData>
</ArrayOfMapData>