POST api/ServicePath/AddServicePath

Request Information

URI Parameters

None.

Body Parameters

ServicePath
NameDescriptionTypeAdditional information
NumberOfInterpreters

integer

Required

Price

decimal number

Required

Enabled

boolean

Required

id

integer

None.

CreationDate

date

None.

LastModificationDate

date

None.

Creator

ApplicationUser

None.

CreatorId

string

None.

Modifier

ApplicationUser

None.

ModifierId

string

None.

AttachmentId

integer

None.

CreatorName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "NumberOfInterpreters": 1,
  "Price": 2.1,
  "Enabled": true,
  "id": 4,
  "CreationDate": "2024-11-21T02:09:29.335513-08:00",
  "LastModificationDate": "2024-11-21T02:09:29.335513-08:00",
  "Creator": {
    "CreationDate": "2024-11-21T02:09:29.335513-08:00",
    "LastModificationDate": "2024-11-21T02:09:29.335513-08:00",
    "Name": "sample string 3",
    "Type": "sample string 4",
    "Status": "sample string 5",
    "PictureId": "sample string 6",
    "password": "sample string 7",
    "Email": "sample string 8",
    "EmailConfirmed": true,
    "PasswordHash": "sample string 10",
    "SecurityStamp": "sample string 11",
    "PhoneNumber": "sample string 12",
    "PhoneNumberConfirmed": true,
    "TwoFactorEnabled": true,
    "LockoutEndDateUtc": "2024-11-21T02:09:29.335513-08:00",
    "LockoutEnabled": true,
    "AccessFailedCount": 16,
    "Roles": [],
    "Claims": [],
    "Logins": [],
    "Id": "sample string 17",
    "UserName": "sample string 18"
  },
  "CreatorId": "sample string 7",
  "Modifier": {
    "CreationDate": "2024-11-21T02:09:29.335513-08:00",
    "LastModificationDate": "2024-11-21T02:09:29.335513-08:00",
    "Name": "sample string 3",
    "Type": "sample string 4",
    "Status": "sample string 5",
    "PictureId": "sample string 6",
    "password": "sample string 7",
    "Email": "sample string 8",
    "EmailConfirmed": true,
    "PasswordHash": "sample string 10",
    "SecurityStamp": "sample string 11",
    "PhoneNumber": "sample string 12",
    "PhoneNumberConfirmed": true,
    "TwoFactorEnabled": true,
    "LockoutEndDateUtc": "2024-11-21T02:09:29.335513-08:00",
    "LockoutEnabled": true,
    "AccessFailedCount": 16,
    "Roles": [],
    "Claims": [],
    "Logins": [],
    "Id": "sample string 17",
    "UserName": "sample string 18"
  },
  "ModifierId": "sample string 8",
  "AttachmentId": 9,
  "CreatorName": "sample string 10"
}

application/xml, text/xml

Sample:
<ServicePath xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ahlam.Models">
  <AttachmentId xmlns="http://schemas.datacontract.org/2004/07/Ahlam.Extras">9</AttachmentId>
  <CreationDate xmlns="http://schemas.datacontract.org/2004/07/Ahlam.Extras">2024-11-21T02:09:29.335513-08:00</CreationDate>
  <Creator xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ahlam.Models" xmlns="http://schemas.datacontract.org/2004/07/Ahlam.Extras">
    <AccessFailedCount xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">16</AccessFailedCount>
    <Email xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 8</Email>
    <EmailConfirmed xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</EmailConfirmed>
    <Id xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 17</Id>
    <LockoutEnabled xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</LockoutEnabled>
    <LockoutEndDateUtc xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">2024-11-21T02:09:29.335513-08:00</LockoutEndDateUtc>
    <PasswordHash xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 10</PasswordHash>
    <PhoneNumber xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 12</PhoneNumber>
    <PhoneNumberConfirmed xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</PhoneNumberConfirmed>
    <SecurityStamp xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 11</SecurityStamp>
    <TwoFactorEnabled xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</TwoFactorEnabled>
    <UserName xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 18</UserName>
    <d2p1:CreationDate>2024-11-21T02:09:29.335513-08:00</d2p1:CreationDate>
    <d2p1:LastModificationDate>2024-11-21T02:09:29.335513-08:00</d2p1:LastModificationDate>
    <d2p1:Name>sample string 3</d2p1:Name>
    <d2p1:PictureId>sample string 6</d2p1:PictureId>
    <d2p1:Status>sample string 5</d2p1:Status>
    <d2p1:Type>sample string 4</d2p1:Type>
    <d2p1:password>sample string 7</d2p1:password>
  </Creator>
  <CreatorId xmlns="http://schemas.datacontract.org/2004/07/Ahlam.Extras">sample string 7</CreatorId>
  <CreatorName xmlns="http://schemas.datacontract.org/2004/07/Ahlam.Extras">sample string 10</CreatorName>
  <LastModificationDate xmlns="http://schemas.datacontract.org/2004/07/Ahlam.Extras">2024-11-21T02:09:29.335513-08:00</LastModificationDate>
  <Modifier xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ahlam.Models" xmlns="http://schemas.datacontract.org/2004/07/Ahlam.Extras">
    <AccessFailedCount xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">16</AccessFailedCount>
    <Email xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 8</Email>
    <EmailConfirmed xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</EmailConfirmed>
    <Id xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 17</Id>
    <LockoutEnabled xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</LockoutEnabled>
    <LockoutEndDateUtc xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">2024-11-21T02:09:29.335513-08:00</LockoutEndDateUtc>
    <PasswordHash xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 10</PasswordHash>
    <PhoneNumber xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 12</PhoneNumber>
    <PhoneNumberConfirmed xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</PhoneNumberConfirmed>
    <SecurityStamp xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 11</SecurityStamp>
    <TwoFactorEnabled xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</TwoFactorEnabled>
    <UserName xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 18</UserName>
    <d2p1:CreationDate>2024-11-21T02:09:29.335513-08:00</d2p1:CreationDate>
    <d2p1:LastModificationDate>2024-11-21T02:09:29.335513-08:00</d2p1:LastModificationDate>
    <d2p1:Name>sample string 3</d2p1:Name>
    <d2p1:PictureId>sample string 6</d2p1:PictureId>
    <d2p1:Status>sample string 5</d2p1:Status>
    <d2p1:Type>sample string 4</d2p1:Type>
    <d2p1:password>sample string 7</d2p1:password>
  </Modifier>
  <ModifierId xmlns="http://schemas.datacontract.org/2004/07/Ahlam.Extras">sample string 8</ModifierId>
  <id xmlns="http://schemas.datacontract.org/2004/07/Ahlam.Extras">4</id>
  <Enabled>true</Enabled>
  <NumberOfInterpreters>1</NumberOfInterpreters>
  <Price>2.1</Price>
</ServicePath>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.