GET api/v1/tests/values/query

Test query values

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Int16

Integer (16 bits)

integer (16 bits)

Example value: 16

Int32

Integer (32 bits)

integer (32 bits)

Example value: 32

Int64

Integer (64 bits)

integer (64 bits)

Example value: 64

UnsignedInt16

Unsigned integer (16 bits)

unsigned integer (16 bits)

Example value: 16

UnsignedInt32

Unsigned integer (32 bits)

unsigned integer (32 bits)

Example value: 32

UnsignedInt64

Unsigned integer (64 bits)

unsigned integer (64 bits)

Example value: 64

Byte

Byte

byte

Example value: 100

SignedByte

Signed byte

signed byte

Example value: 100

Char

Char

character

Example value: B

Uri

Uri

URI

Example value: https://informsystemwebapiprodapp.azurewebsites.net/api/v1/tests/values/body

Max length: 120

Single

Single

decimal number

Example value: 100.11

Double

Double

decimal number

Example value: 200.22

Decimal

Decimal

decimal number

Example value: 100.123

String

String

string

Example value: example string

Max length: 20

Uuid

Universally unique identifier (UUID)

universally unique identifier

Example value: 9b1ce20f-afa3-4aed-b82c-e69024f89f42

TimeSpan

TimeSpan

time interval

Example value: 1.02:03:04.1234567

DateTimeOffset

DateTimeOffset

date

Example value: 12/31/2018 23:59:59 +02:00

Boolean

Boolean

boolean

Example value: True

Enum

Enum

ValuesV1Kind

Example value: Zero

Array

Array

Collection of integer (32 bits)

Example value: 1, 2, 3

Max items: 3

Bytes

Bytes

Collection of byte

Example value: 1, 2, 3

Max items: 3

Dictionary

Dictionary

Dictionary of integer (32 bits) [key] and integer (32 bits) [value]

Max items: 3

Body Parameters

None.

Response Information

Resource Description

Test query values, useful to test whether an API client can correctly send and receive the various data types

TestQueryValuesV1Response
NameDescriptionTypeAdditional information
Int16

Integer (16 bits)

integer (16 bits)

Example value: 16

Int32

Integer (32 bits)

integer (32 bits)

Example value: 32

Int64

Integer (64 bits)

integer (64 bits)

Example value: 64

UnsignedInt16

Unsigned integer (16 bits)

unsigned integer (16 bits)

Example value: 16

UnsignedInt32

Unsigned integer (32 bits)

unsigned integer (32 bits)

Example value: 32

UnsignedInt64

Unsigned integer (64 bits)

unsigned integer (64 bits)

Example value: 64

Byte

Byte

byte

Example value: 100

SignedByte

Signed byte

signed byte

Example value: 100

Char

Char

character

Example value: B

Uri

Uri

URI

Example value: https://informsystemwebapiprodapp.azurewebsites.net/api/v1/tests/values/body

Single

Single

decimal number

Example value: 100.11

Double

Double

decimal number

Example value: 200.22

Decimal

Decimal

decimal number

Example value: 100.123

String

String

string

Example value: example string

Max length: 20

Uuid

Universally unique identifier (UUID)

universally unique identifier

Example value: 9b1ce20f-afa3-4aed-b82c-e69024f89f42

TimeSpan

TimeSpan

time interval

Example value: 1.02:03:04.1234567

DateTimeOffset

DateTimeOffset

date

Example value: 12/31/2018 23:59:59 +02:00

Boolean

Boolean

boolean

Example value: True

Enum

Enum

ValuesV1Kind

Example value: Zero

Array

Array

Collection of integer (32 bits)

Example value: 1, 2, 3

Bytes

Bytes

Collection of byte

Example value: 1, 2, 3

Dictionary

Dictionary

Dictionary of integer (32 bits) [key] and integer (32 bits) [value]

None.

Response Formats

application/json

Sample:
{
  "Int16": 16,
  "Int32": 32,
  "Int64": 64,
  "UnsignedInt16": 16,
  "UnsignedInt32": 32,
  "UnsignedInt64": 64,
  "Byte": 100,
  "SignedByte": 100,
  "Char": "B",
  "Uri": "https://informsystemwebapiprodapp.azurewebsites.net:443/api/v1/tests/values/body",
  "Single": 100.11,
  "Double": 200.22,
  "Decimal": 100.123,
  "String": "example string",
  "Uuid": "9b1ce20f-afa3-4aed-b82c-e69024f89f42",
  "TimeSpan": "1.02:03:04.1234567",
  "DateTimeOffset": "2018-12-31T21:59:59.999+00:00",
  "Boolean": true,
  "Enum": "Zero",
  "Array": [
    1,
    2,
    3
  ],
  "Bytes": "AQID",
  "Dictionary": {
    "1": 10,
    "2": 20,
    "3": 30
  }
}