Class Payload
Class representing an EasyPost event payload.
Implements
Inherited Members
Namespace: EasyPost.Models.API
Assembly: EasyPost.dll
Syntax
public class Payload : EasyPostObject, IEasyPostObject
Properties
| Improve this Doc View SourceRequestBody
The HTTP body of the request made to the RequestUrl.
Declaration
public string? RequestBody { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
RequestHeaders
The HTTP headers that were included in the request made to the RequestUrl.
Declaration
public Dictionary<string, string>? RequestHeaders { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<Dictionary<System.String, System.String>> |
RequestUrl
The URL that the request was sent to (the Webhook URL).
Declaration
public string? RequestUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
ResponseBody
The HTTP body that was received in response to the request made to the RequestUrl.
Declaration
public string? ResponseBody { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
ResponseCode
The HTTP status code that was received in response to the request made to the RequestUrl.
Declaration
public int? ResponseCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
ResponseHeaders
The HTTP headers that were received in response to the request made to the RequestUrl.
Declaration
public Dictionary<string, string>? ResponseHeaders { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<Dictionary<System.String, System.String>> |
TotalTime
The total time, in milliseconds, that it took to complete the request made to the RequestUrl.
Declaration
public int? TotalTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |