C# 클래스 CallfireApiClient.Api.Account.OrdersApi

파일 보기 프로젝트 열기: CallFire/callfire-api-client-csharp

공개 메소드들

메소드 설명
GetOrder ( long id, string fields = null ) : NumberOrder

Get order for keyword and/or number orders GET /me/account

OrderKeywords ( KeywordPurchaseRequest request ) : ResourceId

Purchase keywords. Send a list of available keywords into this API to purchase them using CallFire credits. Be sure the account has credits before trying to purchase. GET /me/account

OrderNumbers ( NumberPurchaseRequest request ) : ResourceId

Purchase numbers. There are many ways to purchase a number. Set either tollFreeCount or localCount along with some querying fields to purchase numbers by bulk query. Set the list of numbers to purchase by list. Available numbers will be purchased using CallFire credits owned by the user. Be sure the account has credits before trying to purchase. GET /me/account

비공개 메소드들

메소드 설명
OrdersApi ( RestApiClient client ) : System

메소드 상세

GetOrder() 공개 메소드

Get order for keyword and/or number orders GET /me/account
in case HTTP response code is 400 - Bad request, the request was formatted improperly. in case HTTP response code is 401 - Unauthorized, API Key missing or invalid. in case HTTP response code is 403 - Forbidden, insufficient permissions. in case HTTP response code is 404 - NOT FOUND, the resource requested does not exist. in case HTTP response code is 500 - Internal Server Error. in case HTTP response code is something different from codes listed above. in case error has occurred in client.
public GetOrder ( long id, string fields = null ) : NumberOrder
id long id of order
fields string limit fields returned. Example fields=id,name
리턴 CallfireApiClient.Api.Account.Model.NumberOrder

OrderKeywords() 공개 메소드

Purchase keywords. Send a list of available keywords into this API to purchase them using CallFire credits. Be sure the account has credits before trying to purchase. GET /me/account
in case HTTP response code is 400 - Bad request, the request was formatted improperly. in case HTTP response code is 401 - Unauthorized, API Key missing or invalid. in case HTTP response code is 403 - Forbidden, insufficient permissions. in case HTTP response code is 404 - NOT FOUND, the resource requested does not exist. in case HTTP response code is 500 - Internal Server Error. in case HTTP response code is something different from codes listed above. in case error has occurred in client.
public OrderKeywords ( KeywordPurchaseRequest request ) : ResourceId
request CallfireApiClient.Api.Keywords.Model.Request.KeywordPurchaseRequest request payload
리턴 CallfireApiClient.Api.Common.Model.ResourceId

OrderNumbers() 공개 메소드

Purchase numbers. There are many ways to purchase a number. Set either tollFreeCount or localCount along with some querying fields to purchase numbers by bulk query. Set the list of numbers to purchase by list. Available numbers will be purchased using CallFire credits owned by the user. Be sure the account has credits before trying to purchase. GET /me/account
in case HTTP response code is 400 - Bad request, the request was formatted improperly. in case HTTP response code is 401 - Unauthorized, API Key missing or invalid. in case HTTP response code is 403 - Forbidden, insufficient permissions. in case HTTP response code is 404 - NOT FOUND, the resource requested does not exist. in case HTTP response code is 500 - Internal Server Error. in case HTTP response code is something different from codes listed above. in case error has occurred in client.
public OrderNumbers ( NumberPurchaseRequest request ) : ResourceId
request CallfireApiClient.Api.Numbers.Model.Request.NumberPurchaseRequest request payload
리턴 CallfireApiClient.Api.Common.Model.ResourceId