POST api/ShaftType/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

None.

Body Parameters

Collection of ShaftType
NameDescriptionTypeAdditional information
ItemId

integer

None.

Name

string

None.

Type

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ItemId": 1,
    "Name": "sample string 2",
    "Type": "sample string 3"
  },
  {
    "ItemId": 1,
    "Name": "sample string 2",
    "Type": "sample string 3"
  }
]

text/html

Sample:
[{"ItemId":1,"Name":"sample string 2","Type":"sample string 3"},{"ItemId":1,"Name":"sample string 2","Type":"sample string 3"}]

application/xml, text/xml

Sample:
<ArrayOfShaftType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TptGolfUtils.Models">
  <ShaftType>
    <ItemId>1</ItemId>
    <Name>sample string 2</Name>
    <Type>sample string 3</Type>
  </ShaftType>
  <ShaftType>
    <ItemId>1</ItemId>
    <Name>sample string 2</Name>
    <Type>sample string 3</Type>
  </ShaftType>
</ArrayOfShaftType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json, text/html

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />