POST api/SaveNote

Request Information

URI Parameters

None.

Body Parameters

Note
NameDescriptionTypeAdditional information
TextComment

string

None.

CustormerId

integer

None.

Created

date

None.

CreatedBy

integer

None.

CreatedComboId

string

None.

Guid

globally unique identifier

None.

Id

integer

None.

IsDirty

boolean

None.

Modified

date

None.

ModifiedBy

integer

None.

ModifiedComboId

string

None.

TenantId

integer

None.

Deleted

boolean

None.

Action

EntityAction

None.

Message

string

None.

Error

ServiceError

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "Note",
  "TextComment": "sample string 1",
  "CustormerId": 2,
  "Created": "2020-11-25T10:46:54.9012864+00:00",
  "CreatedBy": 4,
  "CreatedComboId": "sample string 5",
  "Guid": "f47904ed-3dcc-4dda-a17f-68b90412fd7a",
  "Id": 7,
  "IsDirty": true,
  "Loaded": true,
  "Modified": "2020-11-25T10:46:54.9012864+00:00",
  "ModifiedBy": 11,
  "ModifiedComboId": "sample string 12",
  "TenantId": 13,
  "Deleted": true,
  "Action": 0,
  "Message": "sample string 15",
  "Error": {
    "$id": "2",
    "Message": "sample string 1",
    "ECode": 2,
    "Source": "sample string 3",
    "DateTime": "2020-11-25T10:46:54.9012864+00:00",
    "Operator": 5,
    "TenantId": 6
  }
}

application/xml, text/xml

Sample:
<Note xmlns:i="http://www.w3.org/2001/XMLSchema-instance" z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns="http://IMBK/query/2.0">
  <Action>None</Action>
  <Created>2020-11-25T10:46:54.9012864+00:00</Created>
  <CreatedBy>4</CreatedBy>
  <CreatedComboId>sample string 5</CreatedComboId>
  <Deleted>true</Deleted>
  <Error z:Id="i2">
    <DateTime>2020-11-25T10:46:54.9012864+00:00</DateTime>
    <ECode>2</ECode>
    <Message>sample string 1</Message>
    <Operator>5</Operator>
    <Source>sample string 3</Source>
    <TenantId>6</TenantId>
  </Error>
  <Guid>f47904ed-3dcc-4dda-a17f-68b90412fd7a</Guid>
  <Id>7</Id>
  <IsDirty>true</IsDirty>
  <Message>sample string 15</Message>
  <Modified>2020-11-25T10:46:54.9012864+00:00</Modified>
  <ModifiedBy>11</ModifiedBy>
  <ModifiedComboId>sample string 12</ModifiedComboId>
  <Name>Note</Name>
  <TenantId>13</TenantId>
  <CustormerId>2</CustormerId>
  <TextComment>sample string 1</TextComment>
</Note>

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 'Note'.

Response Information

Resource Description

Collection of Note
NameDescriptionTypeAdditional information
TextComment

string

None.

CustormerId

integer

None.

Created

date

None.

CreatedBy

integer

None.

CreatedComboId

string

None.

Guid

globally unique identifier

None.

Id

integer

None.

IsDirty

boolean

None.

Modified

date

None.

ModifiedBy

integer

None.

ModifiedComboId

string

None.

TenantId

integer

None.

Deleted

boolean

None.

Action

EntityAction

None.

Message

string

None.

Error

ServiceError

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Name": "Note",
    "TextComment": "sample string 1",
    "CustormerId": 2,
    "Created": "2020-11-25T10:46:54.9352865+00:00",
    "CreatedBy": 4,
    "CreatedComboId": "sample string 5",
    "Guid": "7fca98d1-8ea5-40f9-8bde-b4a716734bce",
    "Id": 7,
    "IsDirty": true,
    "Loaded": true,
    "Modified": "2020-11-25T10:46:54.9352865+00:00",
    "ModifiedBy": 11,
    "ModifiedComboId": "sample string 12",
    "TenantId": 13,
    "Deleted": true,
    "Action": 0,
    "Message": "sample string 15",
    "Error": {
      "$id": "2",
      "Message": "sample string 1",
      "ECode": 2,
      "Source": "sample string 3",
      "DateTime": "2020-11-25T10:46:54.9352865+00:00",
      "Operator": 5,
      "TenantId": 6
    }
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfNote xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://IMBK/query/2.0">
  <Note z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <Action>None</Action>
    <Created>2020-11-25T10:46:54.9352865+00:00</Created>
    <CreatedBy>4</CreatedBy>
    <CreatedComboId>sample string 5</CreatedComboId>
    <Deleted>true</Deleted>
    <Error z:Id="i2">
      <DateTime>2020-11-25T10:46:54.9352865+00:00</DateTime>
      <ECode>2</ECode>
      <Message>sample string 1</Message>
      <Operator>5</Operator>
      <Source>sample string 3</Source>
      <TenantId>6</TenantId>
    </Error>
    <Guid>7fca98d1-8ea5-40f9-8bde-b4a716734bce</Guid>
    <Id>7</Id>
    <IsDirty>true</IsDirty>
    <Message>sample string 15</Message>
    <Modified>2020-11-25T10:46:54.9352865+00:00</Modified>
    <ModifiedBy>11</ModifiedBy>
    <ModifiedComboId>sample string 12</ModifiedComboId>
    <Name>Note</Name>
    <TenantId>13</TenantId>
    <CustormerId>2</CustormerId>
    <TextComment>sample string 1</TextComment>
  </Note>
  <Note z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfNote>