POST DeliveryPoint/Save

Request Information

URI Parameters

None.

Body Parameters

DeliveryPoint
NameDescriptionTypeAdditional information
PostResult

PostResult

None.

ID

integer

None.

PointName

string

None.

ParentID

integer

None.

NeighborHoodID

integer

None.

IsActive

integer

None.

IsDeleted

integer

None.

Phone

string

None.

Address

string

None.

Email

string

None.

ListingID

integer

None.

ProvinceID

integer

None.

CountyID

integer

None.

UserCount

integer

None.

Permissions

integer

None.

ProvinceName

string

None.

CountyName

string

None.

NeighborhoodName

string

None.

ParentPoligonName

string

None.

IN

integer

None.

OUT

integer

None.

MOLA

integer

None.

VardiyaCikis

integer

None.

PercentIN

integer

None.

PercentOUT

integer

None.

PercentMOLA

integer

None.

PercentVardiyaCikis

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "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"
  },
  "ID": 1,
  "PointName": "sample string 2",
  "ParentID": 3,
  "NeighborHoodID": 4,
  "IsActive": 5,
  "IsDeleted": 6,
  "Phone": "sample string 7",
  "Address": "sample string 8",
  "Email": "sample string 9",
  "ListingID": 10,
  "ProvinceID": 11,
  "CountyID": 12,
  "UserCount": 13,
  "Permissions": 14,
  "ProvinceName": "sample string 15",
  "CountyName": "sample string 16",
  "NeighborhoodName": "sample string 17",
  "ParentPoligonName": "sample string 18",
  "IN": 19,
  "OUT": 20,
  "MOLA": 21,
  "VardiyaCikis": 22,
  "PercentIN": 23,
  "PercentOUT": 24,
  "PercentMOLA": 25,
  "PercentVardiyaCikis": 26
}

application/xml, text/xml

Sample:
<DeliveryPoint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehriNet.ETicaret.Models">
  <Address>sample string 8</Address>
  <CountyID>12</CountyID>
  <CountyName>sample string 16</CountyName>
  <Email>sample string 9</Email>
  <ID>1</ID>
  <IN>19</IN>
  <IsActive>5</IsActive>
  <IsDeleted>6</IsDeleted>
  <ListingID>10</ListingID>
  <MOLA>21</MOLA>
  <NeighborHoodID>4</NeighborHoodID>
  <NeighborhoodName>sample string 17</NeighborhoodName>
  <OUT>20</OUT>
  <ParentID>3</ParentID>
  <ParentPoligonName>sample string 18</ParentPoligonName>
  <PercentIN>23</PercentIN>
  <PercentMOLA>25</PercentMOLA>
  <PercentOUT>24</PercentOUT>
  <PercentVardiyaCikis>26</PercentVardiyaCikis>
  <Permissions>14</Permissions>
  <Phone>sample string 7</Phone>
  <PointName>sample string 2</PointName>
  <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>
  <ProvinceID>11</ProvinceID>
  <ProvinceName>sample string 15</ProvinceName>
  <UserCount>13</UserCount>
  <VardiyaCikis>22</VardiyaCikis>
</DeliveryPoint>

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

Response Information

Resource Description

PostResult
NameDescriptionTypeAdditional information
ID

integer

None.

id

string

None.

isSuccess

boolean

None.

Message

Exception

None.

MessageCustom

string

None.

Response Formats

application/json, text/json

Sample:
{
  "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:
<PostResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehriNet.ETicaret.Models">
  <ID>1</ID>
  <Message xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1: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>