GET MiscComment/GetMiscComment?Type={Type}

Returns all Misc Comments for a comment type

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
Type

Comment Type to return. Valid types are Application Comments, Blend Comments, Dispatch Comments, OrFertTagMinProdName, and Tag Warning Comments.

string

Required

Body Parameters

Response Information

Resource Description

Returns all Misc Comments for a comment type

AgvMiscComment
NameDescriptionTypeAdditional Information
Status

Status of the API call.

string
Message

Message of the API call.

string
Count

Count of how many Misc Comments.

string
MiscCommentRecords

JSON dictionary of MiscCommentRecords.

Collection of ClsMiscComment

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "Count": "2",
  "MiscCommentRecords": [
    {
      "UniqueId": "sample string 1",
      "Type": "sample string 2",
      "Comment": "sample string 3"
    },
    {
      "UniqueId": "sample string 1",
      "Type": "sample string 2",
      "Comment": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<AgvMiscComment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.MiscComment">
  <Message>sample string 2</Message>
  <MiscCommentRecords xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSI">
    <d2p1:MiscComment>
      <d2p1:Comment>sample string 3</d2p1:Comment>
      <d2p1:Type>sample string 2</d2p1:Type>
      <d2p1:UniqueId>sample string 1</d2p1:UniqueId>
    </d2p1:MiscComment>
    <d2p1:MiscComment>
      <d2p1:Comment>sample string 3</d2p1:Comment>
      <d2p1:Type>sample string 2</d2p1:Type>
      <d2p1:UniqueId>sample string 1</d2p1:UniqueId>
    </d2p1:MiscComment>
  </MiscCommentRecords>
  <Status>sample string 1</Status>
</AgvMiscComment>