POST User/SetPhoneCallCenter

Request Information

URI Parameters

None.

Body Parameters

CallCenter
NameDescriptionTypeAdditional information
FromPhone

string

None.

ToPhone

string

None.

Date

date

None.

ID

integer

None.

IsDeleted

boolean

None.

Active

boolean

None.

PostResult

PostResult

None.

Request Formats

application/json, text/json

Sample:
{
  "FromPhone": "sample string 1",
  "ToPhone": "sample string 2",
  "Date": "2024-11-21T12:46:15.2978867+03:00",
  "ID": 4,
  "IsDeleted": true,
  "Active": true,
  "PostResult": {
    "ID": 1,
    "id": "sample string 2",
    "isSuccess": true,
    "Message": {
      "ClassName": "System.Exception",
      "Message": null,
      "Data": null,
      "InnerException": null,
      "HelpURL": "sample string 1",
      "StackTraceString": null,
      "RemoteStackTraceString": null,
      "RemoteStackIndex": 0,
      "ExceptionMethod": null,
      "HResult": 3,
      "Source": "sample string 2",
      "WatsonBuckets": null
    },
    "MessageCustom": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<CallCenter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehriNet.ETicaret.Models">
  <Active>true</Active>
  <ID>4</ID>
  <IsDeleted>true</IsDeleted>
  <PostResult>
    <ID>1</ID>
    <Message xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <ClassName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">System.Exception</ClassName>
      <Message i:nil="true" xmlns="" />
      <Data i:nil="true" xmlns="" />
      <InnerException i:nil="true" xmlns="" />
      <HelpURL xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 1</HelpURL>
      <StackTraceString i:nil="true" xmlns="" />
      <RemoteStackTraceString i:nil="true" xmlns="" />
      <RemoteStackIndex xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">0</RemoteStackIndex>
      <ExceptionMethod i:nil="true" xmlns="" />
      <HResult xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">3</HResult>
      <Source xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 2</Source>
      <WatsonBuckets i:nil="true" xmlns="" />
    </Message>
    <MessageCustom>sample string 4</MessageCustom>
    <id>sample string 2</id>
    <isSuccess>true</isSuccess>
  </PostResult>
  <Date>2024-11-21T12:46:15.2978867+03:00</Date>
  <FromPhone>sample string 1</FromPhone>
  <ToPhone>sample string 2</ToPhone>
</CallCenter>

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

Response Information

Resource Description

CallCenter
NameDescriptionTypeAdditional information
FromPhone

string

None.

ToPhone

string

None.

Date

date

None.

ID

integer

None.

IsDeleted

boolean

None.

Active

boolean

None.

PostResult

PostResult

None.

Response Formats

application/json, text/json

Sample:
{
  "FromPhone": "sample string 1",
  "ToPhone": "sample string 2",
  "Date": "2024-11-21T12:46:15.2978867+03:00",
  "ID": 4,
  "IsDeleted": true,
  "Active": true,
  "PostResult": {
    "ID": 1,
    "id": "sample string 2",
    "isSuccess": true,
    "Message": {
      "ClassName": "System.Exception",
      "Message": null,
      "Data": null,
      "InnerException": null,
      "HelpURL": "sample string 1",
      "StackTraceString": null,
      "RemoteStackTraceString": null,
      "RemoteStackIndex": 0,
      "ExceptionMethod": null,
      "HResult": 3,
      "Source": "sample string 2",
      "WatsonBuckets": null
    },
    "MessageCustom": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<CallCenter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehriNet.ETicaret.Models">
  <Active>true</Active>
  <ID>4</ID>
  <IsDeleted>true</IsDeleted>
  <PostResult>
    <ID>1</ID>
    <Message xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <ClassName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">System.Exception</ClassName>
      <Message i:nil="true" xmlns="" />
      <Data i:nil="true" xmlns="" />
      <InnerException i:nil="true" xmlns="" />
      <HelpURL xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 1</HelpURL>
      <StackTraceString i:nil="true" xmlns="" />
      <RemoteStackTraceString i:nil="true" xmlns="" />
      <RemoteStackIndex xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">0</RemoteStackIndex>
      <ExceptionMethod i:nil="true" xmlns="" />
      <HResult xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">3</HResult>
      <Source xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 2</Source>
      <WatsonBuckets i:nil="true" xmlns="" />
    </Message>
    <MessageCustom>sample string 4</MessageCustom>
    <id>sample string 2</id>
    <isSuccess>true</isSuccess>
  </PostResult>
  <Date>2024-11-21T12:46:15.2978867+03:00</Date>
  <FromPhone>sample string 1</FromPhone>
  <ToPhone>sample string 2</ToPhone>
</CallCenter>