POST api/NoAccountCase/SaveNoAccountAssignCorporationCase

Request Information

URI Parameters

None.

Body Parameters

NoAccountCaseDTO
NameDescriptionTypeAdditional information
Id

integer

None.

CaseNo

integer

None.

Status

integer

None.

CorporationCode

string

String length: inclusive between 0 and 20

WorkLocationCode

string

String length: inclusive between 0 and 20

EccCaseTypeId

integer

None.

EmployeeId

string

String length: inclusive between 0 and 12

OnsiteLocationId

integer

None.

ValidFlag

boolean

None.

DateCreated

date

None.

DateUpdated

date

None.

UserIDCreated

integer

None.

UserIDUpdated

integer

None.

CompanyCode

string

String length: inclusive between 0 and 20

IsExcludeDiscount

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CaseNo": 2,
  "Status": 3,
  "CorporationCode": "sample string 4",
  "WorkLocationCode": "sample string 5",
  "EccCaseTypeId": 1,
  "EmployeeId": "sample string 6",
  "OnsiteLocationId": 1,
  "ValidFlag": true,
  "DateCreated": "2024-11-21T00:29:46.1880723-08:00",
  "DateUpdated": "2024-11-21T00:29:46.1880723-08:00",
  "UserIDCreated": 10,
  "UserIDUpdated": 11,
  "CompanyCode": "sample string 12",
  "IsExcludeDiscount": true
}

application/xml, text/xml

Sample:
<NoAccountCaseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
  <CompanyCode>sample string 12</CompanyCode>
  <DateCreated>2024-11-21T00:29:46.1880723-08:00</DateCreated>
  <DateUpdated>2024-11-21T00:29:46.1880723-08:00</DateUpdated>
  <IsExcludeDiscount>true</IsExcludeDiscount>
  <UserIDCreated>10</UserIDCreated>
  <UserIDUpdated>11</UserIDUpdated>
  <ValidFlag>true</ValidFlag>
  <CaseNo>2</CaseNo>
  <CorporationCode>sample string 4</CorporationCode>
  <EccCaseTypeId>1</EccCaseTypeId>
  <EmployeeId>sample string 6</EmployeeId>
  <Id>1</Id>
  <OnsiteLocationId>1</OnsiteLocationId>
  <Status>3</Status>
  <WorkLocationCode>sample string 5</WorkLocationCode>
</NoAccountCaseDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AsapResponseOfNoAccountCaseDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

NoAccountCaseDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": {
    "Id": 1,
    "CaseNo": 2,
    "Status": 3,
    "CorporationCode": "sample string 4",
    "WorkLocationCode": "sample string 5",
    "EccCaseTypeId": 1,
    "EmployeeId": "sample string 6",
    "OnsiteLocationId": 1,
    "ValidFlag": true,
    "DateCreated": "2024-11-21T00:29:46.6874278-08:00",
    "DateUpdated": "2024-11-21T00:29:46.6874278-08:00",
    "UserIDCreated": 10,
    "UserIDUpdated": 11,
    "CompanyCode": "sample string 12",
    "IsExcludeDiscount": true
  },
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfNoAccountCaseDTO3NYuOdgi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common">
  <isSuccess>true</isSuccess>
  <jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
    <d2p1:CompanyCode>sample string 12</d2p1:CompanyCode>
    <d2p1:DateCreated>2024-11-21T00:29:46.6874278-08:00</d2p1:DateCreated>
    <d2p1:DateUpdated>2024-11-21T00:29:46.6874278-08:00</d2p1:DateUpdated>
    <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
    <d2p1:UserIDCreated>10</d2p1:UserIDCreated>
    <d2p1:UserIDUpdated>11</d2p1:UserIDUpdated>
    <d2p1:ValidFlag>true</d2p1:ValidFlag>
    <d2p1:CaseNo>2</d2p1:CaseNo>
    <d2p1:CorporationCode>sample string 4</d2p1:CorporationCode>
    <d2p1:EccCaseTypeId>1</d2p1:EccCaseTypeId>
    <d2p1:EmployeeId>sample string 6</d2p1:EmployeeId>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:OnsiteLocationId>1</d2p1:OnsiteLocationId>
    <d2p1:Status>3</d2p1:Status>
    <d2p1:WorkLocationCode>sample string 5</d2p1:WorkLocationCode>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfNoAccountCaseDTO3NYuOdgi>