POST api/PFMS/pfms_get_category

Documentation for 'pfms_get_category'.

Request Information

Parameters

NameDescriptionAdditional information
model
Documentation for 'model'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "stateCode": "sample string 1",
  "AuthString": "sample string 2",
  "Token": "sample string 3",
  "GetCategoryRequest": {
    "requestPayload": {
      "CategoryMasterData": [
        {
          "UniqueIdentifier": "sample string 1",
          "RequestSource": "sample string 2"
        },
        {
          "UniqueIdentifier": "sample string 1",
          "RequestSource": "sample string 2"
        },
        {
          "UniqueIdentifier": "sample string 1",
          "RequestSource": "sample string 2"
        }
      ]
    }
  }
}

application/xml, text/xml

Sample:
<RequestModelGetCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.PFMS">
  <AuthString>sample string 2</AuthString>
  <GetCategoryRequest>
    <requestPayload>
      <CategoryMasterData>
        <MdlCategoryMasterData>
          <RequestSource>sample string 2</RequestSource>
          <UniqueIdentifier>sample string 1</UniqueIdentifier>
        </MdlCategoryMasterData>
        <MdlCategoryMasterData>
          <RequestSource>sample string 2</RequestSource>
          <UniqueIdentifier>sample string 1</UniqueIdentifier>
        </MdlCategoryMasterData>
        <MdlCategoryMasterData>
          <RequestSource>sample string 2</RequestSource>
          <UniqueIdentifier>sample string 1</UniqueIdentifier>
        </MdlCategoryMasterData>
      </CategoryMasterData>
    </requestPayload>
  </GetCategoryRequest>
  <Token>sample string 3</Token>
  <stateCode>sample string 1</stateCode>
</RequestModelGetCategory>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RequestModelGetCategory'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "AckCode": "sample string 1",
  "Status": "sample string 2",
  "Remarks": "sample string 3",
  "DateOfData": "sample string 4",
  "CategoryResponse": {
    "SuccessResponse": {
      "responseData": {
        "RequestStatus": [
          {
            "UniqueIdentifier": "sample string 1",
            "RequestSource": "sample string 2",
            "CategoryDetails": [
              {
                "Category": "sample string 1",
                "CategoryName": "sample string 2"
              },
              {
                "Category": "sample string 1",
                "CategoryName": "sample string 2"
              },
              {
                "Category": "sample string 1",
                "CategoryName": "sample string 2"
              }
            ]
          },
          {
            "UniqueIdentifier": "sample string 1",
            "RequestSource": "sample string 2",
            "CategoryDetails": [
              {
                "Category": "sample string 1",
                "CategoryName": "sample string 2"
              },
              {
                "Category": "sample string 1",
                "CategoryName": "sample string 2"
              },
              {
                "Category": "sample string 1",
                "CategoryName": "sample string 2"
              }
            ]
          },
          {
            "UniqueIdentifier": "sample string 1",
            "RequestSource": "sample string 2",
            "CategoryDetails": [
              {
                "Category": "sample string 1",
                "CategoryName": "sample string 2"
              },
              {
                "Category": "sample string 1",
                "CategoryName": "sample string 2"
              },
              {
                "Category": "sample string 1",
                "CategoryName": "sample string 2"
              }
            ]
          }
        ]
      },
      "errorMessage": "sample string 1",
      "successMessage": "sample string 2",
      "isSuccess": "sample string 3",
      "errorCode": "sample string 4"
    },
    "ErrorResponse": {
      "responseData": {
        "RequestStatus": [
          {
            "UniqueIdentifier": "sample string 1",
            "RequestSource": "sample string 2",
            "Errors": [
              {
                "ErrorCode": "sample string 1",
                "ErrorMessage": "sample string 2"
              },
              {
                "ErrorCode": "sample string 1",
                "ErrorMessage": "sample string 2"
              },
              {
                "ErrorCode": "sample string 1",
                "ErrorMessage": "sample string 2"
              }
            ]
          },
          {
            "UniqueIdentifier": "sample string 1",
            "RequestSource": "sample string 2",
            "Errors": [
              {
                "ErrorCode": "sample string 1",
                "ErrorMessage": "sample string 2"
              },
              {
                "ErrorCode": "sample string 1",
                "ErrorMessage": "sample string 2"
              },
              {
                "ErrorCode": "sample string 1",
                "ErrorMessage": "sample string 2"
              }
            ]
          },
          {
            "UniqueIdentifier": "sample string 1",
            "RequestSource": "sample string 2",
            "Errors": [
              {
                "ErrorCode": "sample string 1",
                "ErrorMessage": "sample string 2"
              },
              {
                "ErrorCode": "sample string 1",
                "ErrorMessage": "sample string 2"
              },
              {
                "ErrorCode": "sample string 1",
                "ErrorMessage": "sample string 2"
              }
            ]
          }
        ]
      },
      "errorMessage": "sample string 1",
      "isSuccess": "sample string 2",
      "successMessage": "sample string 3",
      "errorCode": "sample string 4"
    }
  }
}

application/xml, text/xml

Sample:
<ResponseModelGetCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.PFMS">
  <AckCode>sample string 1</AckCode>
  <CategoryResponse>
    <ErrorResponse>
      <errorCode>sample string 4</errorCode>
      <errorMessage>sample string 1</errorMessage>
      <isSuccess>sample string 2</isSuccess>
      <responseData>
        <RequestStatus>
          <MdlGetCategoryErrorRequestStatus>
            <Errors>
              <MdlGetCategoryErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorMessage>sample string 2</ErrorMessage>
              </MdlGetCategoryErrors>
              <MdlGetCategoryErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorMessage>sample string 2</ErrorMessage>
              </MdlGetCategoryErrors>
              <MdlGetCategoryErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorMessage>sample string 2</ErrorMessage>
              </MdlGetCategoryErrors>
            </Errors>
            <RequestSource>sample string 2</RequestSource>
            <UniqueIdentifier>sample string 1</UniqueIdentifier>
          </MdlGetCategoryErrorRequestStatus>
          <MdlGetCategoryErrorRequestStatus>
            <Errors>
              <MdlGetCategoryErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorMessage>sample string 2</ErrorMessage>
              </MdlGetCategoryErrors>
              <MdlGetCategoryErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorMessage>sample string 2</ErrorMessage>
              </MdlGetCategoryErrors>
              <MdlGetCategoryErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorMessage>sample string 2</ErrorMessage>
              </MdlGetCategoryErrors>
            </Errors>
            <RequestSource>sample string 2</RequestSource>
            <UniqueIdentifier>sample string 1</UniqueIdentifier>
          </MdlGetCategoryErrorRequestStatus>
          <MdlGetCategoryErrorRequestStatus>
            <Errors>
              <MdlGetCategoryErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorMessage>sample string 2</ErrorMessage>
              </MdlGetCategoryErrors>
              <MdlGetCategoryErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorMessage>sample string 2</ErrorMessage>
              </MdlGetCategoryErrors>
              <MdlGetCategoryErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorMessage>sample string 2</ErrorMessage>
              </MdlGetCategoryErrors>
            </Errors>
            <RequestSource>sample string 2</RequestSource>
            <UniqueIdentifier>sample string 1</UniqueIdentifier>
          </MdlGetCategoryErrorRequestStatus>
        </RequestStatus>
      </responseData>
      <successMessage>sample string 3</successMessage>
    </ErrorResponse>
    <SuccessResponse>
      <errorCode>sample string 4</errorCode>
      <errorMessage>sample string 1</errorMessage>
      <isSuccess>sample string 3</isSuccess>
      <responseData>
        <RequestStatus>
          <MdlGetCategoryRequestStatus>
            <CategoryDetails>
              <MdlCategoryDetails>
                <Category>sample string 1</Category>
                <CategoryName>sample string 2</CategoryName>
              </MdlCategoryDetails>
              <MdlCategoryDetails>
                <Category>sample string 1</Category>
                <CategoryName>sample string 2</CategoryName>
              </MdlCategoryDetails>
              <MdlCategoryDetails>
                <Category>sample string 1</Category>
                <CategoryName>sample string 2</CategoryName>
              </MdlCategoryDetails>
            </CategoryDetails>
            <RequestSource>sample string 2</RequestSource>
            <UniqueIdentifier>sample string 1</UniqueIdentifier>
          </MdlGetCategoryRequestStatus>
          <MdlGetCategoryRequestStatus>
            <CategoryDetails>
              <MdlCategoryDetails>
                <Category>sample string 1</Category>
                <CategoryName>sample string 2</CategoryName>
              </MdlCategoryDetails>
              <MdlCategoryDetails>
                <Category>sample string 1</Category>
                <CategoryName>sample string 2</CategoryName>
              </MdlCategoryDetails>
              <MdlCategoryDetails>
                <Category>sample string 1</Category>
                <CategoryName>sample string 2</CategoryName>
              </MdlCategoryDetails>
            </CategoryDetails>
            <RequestSource>sample string 2</RequestSource>
            <UniqueIdentifier>sample string 1</UniqueIdentifier>
          </MdlGetCategoryRequestStatus>
          <MdlGetCategoryRequestStatus>
            <CategoryDetails>
              <MdlCategoryDetails>
                <Category>sample string 1</Category>
                <CategoryName>sample string 2</CategoryName>
              </MdlCategoryDetails>
              <MdlCategoryDetails>
                <Category>sample string 1</Category>
                <CategoryName>sample string 2</CategoryName>
              </MdlCategoryDetails>
              <MdlCategoryDetails>
                <Category>sample string 1</Category>
                <CategoryName>sample string 2</CategoryName>
              </MdlCategoryDetails>
            </CategoryDetails>
            <RequestSource>sample string 2</RequestSource>
            <UniqueIdentifier>sample string 1</UniqueIdentifier>
          </MdlGetCategoryRequestStatus>
        </RequestStatus>
      </responseData>
      <successMessage>sample string 2</successMessage>
    </SuccessResponse>
  </CategoryResponse>
  <DateOfData>sample string 4</DateOfData>
  <Remarks>sample string 3</Remarks>
  <Status>sample string 2</Status>
</ResponseModelGetCategory>