POST api/UBValidateWorkSrvcReq

Documentation for 'Post'.

Request Information

Request body formats

application/json, text/json

Sample:
{
  "IsNew": true,
  "UBWorkSrvcReqPoco": {
    "WORK_ORDER_NO": 1,
    "BOOK_NUM": "sample string 2",
    "ACCT_NUM": "sample string 3",
    "SEQ_NUM": "sample string 4",
    "DATE_OF_SRVC": "2024-09-19T05:06:11.2783293-07:00",
    "BATCH_NUM": "sample string 5",
    "COMMENT": "sample string 6",
    "STATUS": "sample string 7",
    "ASSIGN_TO_CODE": "sample string 8",
    "ACTION_DATE": "2024-09-19T05:06:11.2783293-07:00",
    "TAG_DATE": "2024-09-19T05:06:11.2783293-07:00",
    "INS_USER": "sample string 9",
    "INS_DATE": "2024-09-19T05:06:11.2783293-07:00",
    "UPD_USER": "sample string 10",
    "UPD_DATE": "2024-09-19T05:06:11.2783293-07:00",
    "ACCOUNT_NUMBER": "sample string 11",
    "ORIG_HASH": "sample string 12"
  }
}

Response Information

Response body formats

application/json, text/json

Sample:
{
  "ValidationResult": {
    "AccountNotExist": true,
    "WorkOrderNotExist": true,
    "ServiceDateBlank": true,
    "ServiceDateInvalid": true,
    "AssignToBlank": true,
    "AssignToCodeNotExist": true,
    "ActionDatePast": true,
    "TagDatePast": true,
    "StatusBlank": true,
    "StatusCodeNotExist": true,
    "NoEditOnCompleted": true,
    "ErrorMessages": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ],
    "WarningMessages": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ]
  }
}