POST api/SaveContact

Request Information

URI Parameters

None.

Body Parameters

Communication
NameDescriptionTypeAdditional information
Content

string

None.

Description

string

None.

Type

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": "Communication",
  "Content": "sample string 2",
  "Description": "sample string 3",
  "Type": "FixPhone",
  "CustormerId": 6,
  "Created": "2020-11-25T11:41:13.8921013+00:00",
  "CreatedBy": 8,
  "CreatedComboId": "sample string 9",
  "Guid": "c7f66642-a928-41cb-b367-0dfb182c9664",
  "Id": 11,
  "IsDirty": true,
  "Loaded": true,
  "Modified": "2020-11-25T11:41:13.8921013+00:00",
  "ModifiedBy": 15,
  "ModifiedComboId": "sample string 16",
  "TenantId": 17,
  "Deleted": true,
  "Action": 0,
  "Message": "sample string 19",
  "Error": {
    "$id": "2",
    "Message": "sample string 1",
    "ECode": 2,
    "Source": "sample string 3",
    "DateTime": "2020-11-25T11:41:13.8921013+00:00",
    "Operator": 5,
    "TenantId": 6
  }
}

application/xml, text/xml

Sample:
<Communication 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-25T11:41:13.8921013+00:00</Created>
  <CreatedBy>8</CreatedBy>
  <CreatedComboId>sample string 9</CreatedComboId>
  <Deleted>true</Deleted>
  <Error z:Id="i2">
    <DateTime>2020-11-25T11:41:13.8921013+00:00</DateTime>
    <ECode>2</ECode>
    <Message>sample string 1</Message>
    <Operator>5</Operator>
    <Source>sample string 3</Source>
    <TenantId>6</TenantId>
  </Error>
  <Guid>c7f66642-a928-41cb-b367-0dfb182c9664</Guid>
  <Id>11</Id>
  <IsDirty>true</IsDirty>
  <Message>sample string 19</Message>
  <Modified>2020-11-25T11:41:13.8921013+00:00</Modified>
  <ModifiedBy>15</ModifiedBy>
  <ModifiedComboId>sample string 16</ModifiedComboId>
  <Name>Communication</Name>
  <TenantId>17</TenantId>
  <Content>sample string 2</Content>
  <CustormerId>6</CustormerId>
  <Description>sample string 3</Description>
  <Type>FixPhone</Type>
</Communication>

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

Response Information

Resource Description

Collection of Communication
NameDescriptionTypeAdditional information
Content

string

None.

Description

string

None.

Type

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": "Communication",
    "Content": "sample string 2",
    "Description": "sample string 3",
    "Type": "FixPhone",
    "CustormerId": 6,
    "Created": "2020-11-25T11:41:13.9135349+00:00",
    "CreatedBy": 8,
    "CreatedComboId": "sample string 9",
    "Guid": "16c931d0-2b45-403a-8f6b-7ccf17583712",
    "Id": 11,
    "IsDirty": true,
    "Loaded": true,
    "Modified": "2020-11-25T11:41:13.9135349+00:00",
    "ModifiedBy": 15,
    "ModifiedComboId": "sample string 16",
    "TenantId": 17,
    "Deleted": true,
    "Action": 0,
    "Message": "sample string 19",
    "Error": {
      "$id": "2",
      "Message": "sample string 1",
      "ECode": 2,
      "Source": "sample string 3",
      "DateTime": "2020-11-25T11:41:13.9135349+00:00",
      "Operator": 5,
      "TenantId": 6
    }
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCommunication xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://IMBK/query/2.0">
  <Communication z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <Action>None</Action>
    <Created>2020-11-25T11:41:13.9135349+00:00</Created>
    <CreatedBy>8</CreatedBy>
    <CreatedComboId>sample string 9</CreatedComboId>
    <Deleted>true</Deleted>
    <Error z:Id="i2">
      <DateTime>2020-11-25T11:41:13.9135349+00:00</DateTime>
      <ECode>2</ECode>
      <Message>sample string 1</Message>
      <Operator>5</Operator>
      <Source>sample string 3</Source>
      <TenantId>6</TenantId>
    </Error>
    <Guid>16c931d0-2b45-403a-8f6b-7ccf17583712</Guid>
    <Id>11</Id>
    <IsDirty>true</IsDirty>
    <Message>sample string 19</Message>
    <Modified>2020-11-25T11:41:13.9135349+00:00</Modified>
    <ModifiedBy>15</ModifiedBy>
    <ModifiedComboId>sample string 16</ModifiedComboId>
    <Name>Communication</Name>
    <TenantId>17</TenantId>
    <Content>sample string 2</Content>
    <CustormerId>6</CustormerId>
    <Description>sample string 3</Description>
    <Type>FixPhone</Type>
  </Communication>
  <Communication z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfCommunication>