GET api/Transaction/{transactionId}/Ticket?user={user}

Return a list of tickets with object info associated with this transaction

Request Information

URI Parameters

NameDescriptionTypeAdditional information
transactionId

Id of transaction

string

Required

user

Id of the user makign the request (logged in user if left empty)

string

None.

Body Parameters

None.

Response Information

Resource Description

List of tickets on success
Collection of errors on failure
Return codes
200 - ok
401 - unauthorized
404 - not found
500 - internal server error

Collection of Ticket
NameDescriptionTypeAdditional information
ObjectHandle

Object handle

string

None.

ObjectName

Object name

string

None.

ClassName

Object class

string

None.

TicketState

Ticket state

string

None.

CreateDate

Object create date

date

None.

ExpDate

Object expiry date

date

None.

ProductId

Product id

integer

None.

Period

Period in years

decimal number

None.

Quantity

Quantity

integer

None.

ObjectStatus

Object status

integer

None.

Id

Ticket id

decimal number

None.

OpType

Operation type

string

None.

TldId

Tld id

integer

None.

Remark

Latest log remark

string

None.

PriorityLevel

Priority level

integer

None.

RequestDate

Request date

date

None.

ModDate

Last update date

date

None.

LastProcessingDate

Last processing date

date

None.

NextProcessingDate

Next processing date

date

None.

LastProcessingResultId

Last processing result id

integer

None.

Version

Ticket version

integer

None.

ClientStateId

Client state id

integer

None.

Extensions

Ticket extensions

Dictionary of string [key] and string [value]

None.

Logs

Processing logs

Collection of Log

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ObjectHandle": "sample string 1",
    "ObjectName": "sample string 2",
    "ClassName": "sample string 3",
    "TicketState": "sample string 4",
    "CreateDate": "2025-04-04T00:28:09.8399982+02:00",
    "ExpDate": "2025-04-04T00:28:09.8399982+02:00",
    "ProductId": 6,
    "Period": 7.1,
    "Quantity": 8,
    "ObjectStatus": 9,
    "Id": 10.0,
    "OpType": "sample string 11",
    "TldId": 12,
    "Remark": "sample string 13",
    "PriorityLevel": 14,
    "RequestDate": "2025-04-04T00:28:09.8399982+02:00",
    "ModDate": "2025-04-04T00:28:09.8399982+02:00",
    "LastProcessingDate": "2025-04-04T00:28:09.8399982+02:00",
    "NextProcessingDate": "2025-04-04T00:28:09.8399982+02:00",
    "LastProcessingResultId": 1,
    "Version": 17,
    "ClientStateId": 1,
    "Extensions": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "Logs": [
      {
        "NewStateId": 1,
        "Remark": "sample string 2",
        "ModByUser": "sample string 3",
        "ModByLocation": "sample string 4",
        "Date": "2025-04-04T00:28:09.8399982+02:00"
      },
      {
        "NewStateId": 1,
        "Remark": "sample string 2",
        "ModByUser": "sample string 3",
        "ModByLocation": "sample string 4",
        "Date": "2025-04-04T00:28:09.8399982+02:00"
      }
    ]
  },
  {
    "ObjectHandle": "sample string 1",
    "ObjectName": "sample string 2",
    "ClassName": "sample string 3",
    "TicketState": "sample string 4",
    "CreateDate": "2025-04-04T00:28:09.8399982+02:00",
    "ExpDate": "2025-04-04T00:28:09.8399982+02:00",
    "ProductId": 6,
    "Period": 7.1,
    "Quantity": 8,
    "ObjectStatus": 9,
    "Id": 10.0,
    "OpType": "sample string 11",
    "TldId": 12,
    "Remark": "sample string 13",
    "PriorityLevel": 14,
    "RequestDate": "2025-04-04T00:28:09.8399982+02:00",
    "ModDate": "2025-04-04T00:28:09.8399982+02:00",
    "LastProcessingDate": "2025-04-04T00:28:09.8399982+02:00",
    "NextProcessingDate": "2025-04-04T00:28:09.8399982+02:00",
    "LastProcessingResultId": 1,
    "Version": 17,
    "ClientStateId": 1,
    "Extensions": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "Logs": [
      {
        "NewStateId": 1,
        "Remark": "sample string 2",
        "ModByUser": "sample string 3",
        "ModByLocation": "sample string 4",
        "Date": "2025-04-04T00:28:09.8399982+02:00"
      },
      {
        "NewStateId": 1,
        "Remark": "sample string 2",
        "ModByUser": "sample string 3",
        "ModByLocation": "sample string 4",
        "Date": "2025-04-04T00:28:09.8399982+02:00"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfTicket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.Transaction">
  <Ticket>
    <ClassName>sample string 3</ClassName>
    <ClientStateId>1</ClientStateId>
    <CreateDate>2025-04-04T00:28:09.8399982+02:00</CreateDate>
    <ExpDate>2025-04-04T00:28:09.8399982+02:00</ExpDate>
    <Extensions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>sample string 2</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>sample string 4</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </Extensions>
    <Id>10</Id>
    <LastProcessingDate>2025-04-04T00:28:09.8399982+02:00</LastProcessingDate>
    <LastProcessingResultId>1</LastProcessingResultId>
    <Logs>
      <Log>
        <Date>2025-04-04T00:28:09.8399982+02:00</Date>
        <ModByLocation>sample string 4</ModByLocation>
        <ModByUser>sample string 3</ModByUser>
        <NewStateId>1</NewStateId>
        <Remark>sample string 2</Remark>
      </Log>
      <Log>
        <Date>2025-04-04T00:28:09.8399982+02:00</Date>
        <ModByLocation>sample string 4</ModByLocation>
        <ModByUser>sample string 3</ModByUser>
        <NewStateId>1</NewStateId>
        <Remark>sample string 2</Remark>
      </Log>
    </Logs>
    <ModDate>2025-04-04T00:28:09.8399982+02:00</ModDate>
    <NextProcessingDate>2025-04-04T00:28:09.8399982+02:00</NextProcessingDate>
    <ObjectHandle>sample string 1</ObjectHandle>
    <ObjectName>sample string 2</ObjectName>
    <ObjectStatus>9</ObjectStatus>
    <OpType>sample string 11</OpType>
    <Period>7.1</Period>
    <PriorityLevel>14</PriorityLevel>
    <ProductId>6</ProductId>
    <Quantity>8</Quantity>
    <Remark>sample string 13</Remark>
    <RequestDate>2025-04-04T00:28:09.8399982+02:00</RequestDate>
    <TicketState>sample string 4</TicketState>
    <TldId>12</TldId>
    <Version>17</Version>
  </Ticket>
  <Ticket>
    <ClassName>sample string 3</ClassName>
    <ClientStateId>1</ClientStateId>
    <CreateDate>2025-04-04T00:28:09.8399982+02:00</CreateDate>
    <ExpDate>2025-04-04T00:28:09.8399982+02:00</ExpDate>
    <Extensions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>sample string 2</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>sample string 4</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </Extensions>
    <Id>10</Id>
    <LastProcessingDate>2025-04-04T00:28:09.8399982+02:00</LastProcessingDate>
    <LastProcessingResultId>1</LastProcessingResultId>
    <Logs>
      <Log>
        <Date>2025-04-04T00:28:09.8399982+02:00</Date>
        <ModByLocation>sample string 4</ModByLocation>
        <ModByUser>sample string 3</ModByUser>
        <NewStateId>1</NewStateId>
        <Remark>sample string 2</Remark>
      </Log>
      <Log>
        <Date>2025-04-04T00:28:09.8399982+02:00</Date>
        <ModByLocation>sample string 4</ModByLocation>
        <ModByUser>sample string 3</ModByUser>
        <NewStateId>1</NewStateId>
        <Remark>sample string 2</Remark>
      </Log>
    </Logs>
    <ModDate>2025-04-04T00:28:09.8399982+02:00</ModDate>
    <NextProcessingDate>2025-04-04T00:28:09.8399982+02:00</NextProcessingDate>
    <ObjectHandle>sample string 1</ObjectHandle>
    <ObjectName>sample string 2</ObjectName>
    <ObjectStatus>9</ObjectStatus>
    <OpType>sample string 11</OpType>
    <Period>7.1</Period>
    <PriorityLevel>14</PriorityLevel>
    <ProductId>6</ProductId>
    <Quantity>8</Quantity>
    <Remark>sample string 13</Remark>
    <RequestDate>2025-04-04T00:28:09.8399982+02:00</RequestDate>
    <TicketState>sample string 4</TicketState>
    <TldId>12</TldId>
    <Version>17</Version>
  </Ticket>
</ArrayOfTicket>