swagger.json 307 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "新的查询服务,替代原通用查询服务。",
  5. "title": "MTP2.0 查询服务 API",
  6. "termsOfService": "http://muchinfo.cn",
  7. "contact": {},
  8. "license": {},
  9. "version": "1.0"
  10. },
  11. "basePath": "/api",
  12. "paths": {
  13. "/CPTrade/QueryCPTradeMyBidInfos": {
  14. "get": {
  15. "security": [
  16. {
  17. "ApiKeyAuth": []
  18. }
  19. ],
  20. "produces": [
  21. "application/json"
  22. ],
  23. "tags": [
  24. "产能预售"
  25. ],
  26. "summary": "查询产能预售我的出价信息",
  27. "parameters": [
  28. {
  29. "type": "integer",
  30. "description": "资金账户",
  31. "name": "accountid",
  32. "in": "query",
  33. "required": true
  34. },
  35. {
  36. "type": "integer",
  37. "description": "预售市场ID",
  38. "name": "marketid",
  39. "in": "query"
  40. },
  41. {
  42. "type": "integer",
  43. "description": "预售商品ID",
  44. "name": "goodsid",
  45. "in": "query"
  46. }
  47. ],
  48. "responses": {
  49. "200": {
  50. "description": "OK",
  51. "schema": {
  52. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  53. }
  54. },
  55. "500": {
  56. "description": "Internal Server Error",
  57. "schema": {
  58. "$ref": "#/definitions/app.Response"
  59. }
  60. }
  61. }
  62. }
  63. },
  64. "/CPTrade/QueryCPTradeOrderDetail": {
  65. "get": {
  66. "security": [
  67. {
  68. "ApiKeyAuth": []
  69. }
  70. ],
  71. "produces": [
  72. "application/json"
  73. ],
  74. "tags": [
  75. "产能预售"
  76. ],
  77. "summary": "查询产能预售委托单信息",
  78. "parameters": [
  79. {
  80. "type": "integer",
  81. "description": "预售商品ID",
  82. "name": "goodsid",
  83. "in": "query"
  84. },
  85. {
  86. "type": "integer",
  87. "description": "预售市场ID",
  88. "name": "marketid",
  89. "in": "query"
  90. },
  91. {
  92. "type": "string",
  93. "description": "预售商品ID列表 - 格式:1,2,3",
  94. "name": "goodsids",
  95. "in": "query"
  96. }
  97. ],
  98. "responses": {
  99. "200": {
  100. "description": "OK",
  101. "schema": {
  102. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  103. }
  104. },
  105. "500": {
  106. "description": "Internal Server Error",
  107. "schema": {
  108. "$ref": "#/definitions/app.Response"
  109. }
  110. }
  111. }
  112. }
  113. },
  114. "/CPTrade/QueryMyCPTradeGoods": {
  115. "get": {
  116. "security": [
  117. {
  118. "ApiKeyAuth": []
  119. }
  120. ],
  121. "produces": [
  122. "application/json"
  123. ],
  124. "tags": [
  125. "产能预售"
  126. ],
  127. "summary": "查询我的预售信息",
  128. "parameters": [
  129. {
  130. "type": "integer",
  131. "description": "资金账户",
  132. "name": "accountid",
  133. "in": "query",
  134. "required": true
  135. }
  136. ],
  137. "responses": {
  138. "200": {
  139. "description": "OK",
  140. "schema": {
  141. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  142. }
  143. },
  144. "500": {
  145. "description": "Internal Server Error",
  146. "schema": {
  147. "$ref": "#/definitions/app.Response"
  148. }
  149. }
  150. }
  151. }
  152. },
  153. "/CPTrade/QueryPositionCancel": {
  154. "get": {
  155. "security": [
  156. {
  157. "ApiKeyAuth": []
  158. }
  159. ],
  160. "produces": [
  161. "application/json"
  162. ],
  163. "tags": [
  164. "产能预售"
  165. ],
  166. "summary": "查询远期订单注销申请信息",
  167. "parameters": [
  168. {
  169. "type": "integer",
  170. "description": "账户ID",
  171. "name": "userid",
  172. "in": "query",
  173. "required": true
  174. },
  175. {
  176. "type": "integer",
  177. "description": "注销ID",
  178. "name": "cancelid",
  179. "in": "query"
  180. },
  181. {
  182. "type": "integer",
  183. "description": "资金账户ID",
  184. "name": "accountid",
  185. "in": "query"
  186. }
  187. ],
  188. "responses": {
  189. "200": {
  190. "description": "OK",
  191. "schema": {
  192. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  193. }
  194. },
  195. "500": {
  196. "description": "Internal Server Error",
  197. "schema": {
  198. "$ref": "#/definitions/app.Response"
  199. }
  200. }
  201. }
  202. }
  203. },
  204. "/CPTrade/QueryPreasleApply": {
  205. "get": {
  206. "security": [
  207. {
  208. "ApiKeyAuth": []
  209. }
  210. ],
  211. "produces": [
  212. "application/json"
  213. ],
  214. "tags": [
  215. "产能预售"
  216. ],
  217. "summary": "查询产能预售申请信息",
  218. "parameters": [
  219. {
  220. "type": "integer",
  221. "description": "账户ID",
  222. "name": "userid",
  223. "in": "query",
  224. "required": true
  225. },
  226. {
  227. "type": "integer",
  228. "description": "申请ID",
  229. "name": "applyid",
  230. "in": "query"
  231. },
  232. {
  233. "type": "integer",
  234. "description": "资金账户ID",
  235. "name": "accountid",
  236. "in": "query"
  237. }
  238. ],
  239. "responses": {
  240. "200": {
  241. "description": "OK",
  242. "schema": {
  243. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  244. }
  245. },
  246. "500": {
  247. "description": "Internal Server Error",
  248. "schema": {
  249. "$ref": "#/definitions/app.Response"
  250. }
  251. }
  252. }
  253. }
  254. },
  255. "/CPTrade/QueryPresaleGoodsEx": {
  256. "get": {
  257. "security": [
  258. {
  259. "ApiKeyAuth": []
  260. }
  261. ],
  262. "produces": [
  263. "application/json"
  264. ],
  265. "tags": [
  266. "产能预售"
  267. ],
  268. "summary": "查询产能预售商品扩展信息",
  269. "parameters": [
  270. {
  271. "type": "integer",
  272. "description": "预售商品ID",
  273. "name": "goodsid",
  274. "in": "query"
  275. },
  276. {
  277. "type": "integer",
  278. "description": "预售市场ID",
  279. "name": "marketid",
  280. "in": "query"
  281. },
  282. {
  283. "type": "integer",
  284. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  285. "name": "presalemode",
  286. "in": "query"
  287. },
  288. {
  289. "type": "string",
  290. "description": "预售商品ID列表 - 格式:1,2,3",
  291. "name": "goodsids",
  292. "in": "query"
  293. },
  294. {
  295. "type": "string",
  296. "description": "预售商品代码",
  297. "name": "goodscode",
  298. "in": "query"
  299. }
  300. ],
  301. "responses": {
  302. "200": {
  303. "description": "OK",
  304. "schema": {
  305. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  306. }
  307. },
  308. "500": {
  309. "description": "Internal Server Error",
  310. "schema": {
  311. "$ref": "#/definitions/app.Response"
  312. }
  313. }
  314. }
  315. }
  316. },
  317. "/CPTrade/QueryUserGoodsData": {
  318. "get": {
  319. "security": [
  320. {
  321. "ApiKeyAuth": []
  322. }
  323. ],
  324. "produces": [
  325. "application/json"
  326. ],
  327. "tags": [
  328. "产能预售"
  329. ],
  330. "summary": "查询远期订单信息",
  331. "parameters": [
  332. {
  333. "type": "integer",
  334. "description": "资金账户ID",
  335. "name": "accountid",
  336. "in": "query",
  337. "required": true
  338. }
  339. ],
  340. "responses": {
  341. "200": {
  342. "description": "OK",
  343. "schema": {
  344. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  345. }
  346. },
  347. "500": {
  348. "description": "Internal Server Error",
  349. "schema": {
  350. "$ref": "#/definitions/app.Response"
  351. }
  352. }
  353. }
  354. }
  355. },
  356. "/Common/NoticeReaded": {
  357. "post": {
  358. "security": [
  359. {
  360. "ApiKeyAuth": []
  361. }
  362. ],
  363. "produces": [
  364. "application/json"
  365. ],
  366. "tags": [
  367. "通用服务"
  368. ],
  369. "summary": "通知公告设置已读请求",
  370. "parameters": [
  371. {
  372. "type": "integer",
  373. "description": "登录账号",
  374. "name": "loginID",
  375. "in": "query",
  376. "required": true
  377. },
  378. {
  379. "type": "integer",
  380. "description": "通知公告ID",
  381. "name": "noticeID",
  382. "in": "query",
  383. "required": true
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/app.Response"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/QueryImageConfigs": {
  403. "get": {
  404. "produces": [
  405. "application/json"
  406. ],
  407. "tags": [
  408. "通用服务"
  409. ],
  410. "summary": "查询轮播图配置信息",
  411. "parameters": [
  412. {
  413. "type": "integer",
  414. "description": "类型 - 1:App首页轮播 2:我的",
  415. "name": "imageType",
  416. "in": "query"
  417. }
  418. ],
  419. "responses": {
  420. "200": {
  421. "description": "OK",
  422. "schema": {
  423. "$ref": "#/definitions/models.Szdz2imageconfig"
  424. }
  425. },
  426. "500": {
  427. "description": "Internal Server Error",
  428. "schema": {
  429. "$ref": "#/definitions/app.Response"
  430. }
  431. }
  432. }
  433. }
  434. },
  435. "/Common/QueryNotice": {
  436. "get": {
  437. "security": [
  438. {
  439. "ApiKeyAuth": []
  440. }
  441. ],
  442. "produces": [
  443. "application/json"
  444. ],
  445. "tags": [
  446. "通用服务"
  447. ],
  448. "summary": "通知公告系统消息查询",
  449. "parameters": [
  450. {
  451. "type": "integer",
  452. "description": "页码",
  453. "name": "page",
  454. "in": "query"
  455. },
  456. {
  457. "type": "integer",
  458. "description": "每页条数",
  459. "name": "pagesize",
  460. "in": "query"
  461. },
  462. {
  463. "type": "integer",
  464. "description": "登录账号",
  465. "name": "loginID",
  466. "in": "query",
  467. "required": true
  468. },
  469. {
  470. "type": "integer",
  471. "description": "消息类型 - 1:公告通知 2:系统消息",
  472. "name": "msgType",
  473. "in": "query"
  474. },
  475. {
  476. "type": "boolean",
  477. "description": "是否只获取未读信息",
  478. "name": "onlyUnRead",
  479. "in": "query"
  480. }
  481. ],
  482. "responses": {
  483. "200": {
  484. "description": "OK",
  485. "schema": {
  486. "$ref": "#/definitions/common.QueryNoticeRsp"
  487. }
  488. },
  489. "500": {
  490. "description": "Internal Server Error",
  491. "schema": {
  492. "$ref": "#/definitions/app.Response"
  493. }
  494. }
  495. }
  496. }
  497. },
  498. "/Common/QueryProvincesAndCities": {
  499. "get": {
  500. "produces": [
  501. "application/json"
  502. ],
  503. "tags": [
  504. "通用服务"
  505. ],
  506. "summary": "查询省市信息(不包括区)",
  507. "parameters": [
  508. {
  509. "type": "integer",
  510. "description": "省ID",
  511. "name": "provinceID",
  512. "in": "query"
  513. }
  514. ],
  515. "responses": {
  516. "200": {
  517. "description": "OK",
  518. "schema": {
  519. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  520. }
  521. },
  522. "500": {
  523. "description": "Internal Server Error",
  524. "schema": {
  525. "$ref": "#/definitions/app.Response"
  526. }
  527. }
  528. }
  529. }
  530. },
  531. "/Common/QueryTableDefine": {
  532. "get": {
  533. "produces": [
  534. "application/json"
  535. ],
  536. "tags": [
  537. "通用服务"
  538. ],
  539. "summary": "查询交易端列表头信息",
  540. "parameters": [
  541. {
  542. "type": "string",
  543. "description": "表key",
  544. "name": "TableKey",
  545. "in": "query"
  546. }
  547. ],
  548. "responses": {
  549. "200": {
  550. "description": "OK",
  551. "schema": {
  552. "$ref": "#/definitions/common.QueryTableDefineRsp"
  553. }
  554. },
  555. "500": {
  556. "description": "Internal Server Error",
  557. "schema": {
  558. "$ref": "#/definitions/app.Response"
  559. }
  560. }
  561. }
  562. }
  563. },
  564. "/Common/QueryTraderMenu": {
  565. "get": {
  566. "produces": [
  567. "application/json"
  568. ],
  569. "tags": [
  570. "通用服务"
  571. ],
  572. "summary": "查询交易端菜单",
  573. "parameters": [
  574. {
  575. "type": "integer",
  576. "description": "登录账号",
  577. "name": "loginid",
  578. "in": "query",
  579. "required": true
  580. }
  581. ],
  582. "responses": {
  583. "200": {
  584. "description": "OK",
  585. "schema": {
  586. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  587. }
  588. },
  589. "500": {
  590. "description": "Internal Server Error",
  591. "schema": {
  592. "$ref": "#/definitions/app.Response"
  593. }
  594. }
  595. }
  596. }
  597. },
  598. "/Delivery/QueryDeliveryRelation": {
  599. "get": {
  600. "security": [
  601. {
  602. "ApiKeyAuth": []
  603. }
  604. ],
  605. "produces": [
  606. "application/json"
  607. ],
  608. "tags": [
  609. "交割服务"
  610. ],
  611. "summary": "查询商品交割关系表",
  612. "parameters": [
  613. {
  614. "type": "integer",
  615. "description": "商品ID",
  616. "name": "goodsid",
  617. "in": "query"
  618. },
  619. {
  620. "type": "integer",
  621. "description": "品种ID",
  622. "name": "deliverygoodsid",
  623. "in": "query"
  624. },
  625. {
  626. "type": "integer",
  627. "description": "市场ID",
  628. "name": "marketid",
  629. "in": "query"
  630. }
  631. ],
  632. "responses": {
  633. "200": {
  634. "description": "OK",
  635. "schema": {
  636. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  637. }
  638. },
  639. "500": {
  640. "description": "Internal Server Error",
  641. "schema": {
  642. "$ref": "#/definitions/app.Response"
  643. }
  644. }
  645. }
  646. }
  647. },
  648. "/Erms2/QueryArbitrageStrategy": {
  649. "get": {
  650. "security": [
  651. {
  652. "ApiKeyAuth": []
  653. }
  654. ],
  655. "produces": [
  656. "application/json"
  657. ],
  658. "tags": [
  659. "风险管理"
  660. ],
  661. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  662. "parameters": [
  663. {
  664. "type": "integer",
  665. "description": "账户ID",
  666. "name": "userid",
  667. "in": "query",
  668. "required": true
  669. },
  670. {
  671. "type": "string",
  672. "description": "商品组ID(品种ID)",
  673. "name": "goodsgroupid",
  674. "in": "query"
  675. }
  676. ],
  677. "responses": {
  678. "200": {
  679. "description": "OK",
  680. "schema": {
  681. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  682. }
  683. },
  684. "500": {
  685. "description": "Internal Server Error",
  686. "schema": {
  687. "$ref": "#/definitions/app.Response"
  688. }
  689. }
  690. }
  691. }
  692. },
  693. "/Erms2/QueryInnerTradeDetail": {
  694. "get": {
  695. "security": [
  696. {
  697. "ApiKeyAuth": []
  698. }
  699. ],
  700. "produces": [
  701. "application/json"
  702. ],
  703. "tags": [
  704. "风险管理"
  705. ],
  706. "summary": "查询内部成交单信息",
  707. "parameters": [
  708. {
  709. "type": "integer",
  710. "description": "资金账户",
  711. "name": "accountid",
  712. "in": "query",
  713. "required": true
  714. }
  715. ],
  716. "responses": {
  717. "200": {
  718. "description": "OK",
  719. "schema": {
  720. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  721. }
  722. },
  723. "500": {
  724. "description": "Internal Server Error",
  725. "schema": {
  726. "$ref": "#/definitions/app.Response"
  727. }
  728. }
  729. }
  730. }
  731. },
  732. "/Erms2/QuerySpotContract": {
  733. "get": {
  734. "security": [
  735. {
  736. "ApiKeyAuth": []
  737. }
  738. ],
  739. "produces": [
  740. "application/json"
  741. ],
  742. "tags": [
  743. "风险管理"
  744. ],
  745. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  746. "parameters": [
  747. {
  748. "type": "integer",
  749. "description": "策略申请ID",
  750. "name": "asapplyid",
  751. "in": "query",
  752. "required": true
  753. },
  754. {
  755. "type": "integer",
  756. "description": "现货合同ID",
  757. "name": "spotcontractid",
  758. "in": "query"
  759. }
  760. ],
  761. "responses": {
  762. "200": {
  763. "description": "OK",
  764. "schema": {
  765. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  766. }
  767. },
  768. "500": {
  769. "description": "Internal Server Error",
  770. "schema": {
  771. "$ref": "#/definitions/app.Response"
  772. }
  773. }
  774. }
  775. }
  776. },
  777. "/Erms3/AddSpotContractApply": {
  778. "post": {
  779. "security": [
  780. {
  781. "ApiKeyAuth": []
  782. }
  783. ],
  784. "produces": [
  785. "application/json"
  786. ],
  787. "tags": [
  788. "风险管理v3"
  789. ],
  790. "summary": "新增现货合同申请",
  791. "parameters": [
  792. {
  793. "description": "申请参数",
  794. "name": "jsonBody",
  795. "in": "body",
  796. "required": true,
  797. "schema": {
  798. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  799. }
  800. }
  801. ],
  802. "responses": {
  803. "200": {
  804. "description": "OK",
  805. "schema": {
  806. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  807. }
  808. },
  809. "500": {
  810. "description": "Internal Server Error",
  811. "schema": {
  812. "$ref": "#/definitions/app.Response"
  813. }
  814. }
  815. }
  816. }
  817. },
  818. "/Erms3/QuerySpotContractAppleForm": {
  819. "get": {
  820. "security": [
  821. {
  822. "ApiKeyAuth": []
  823. }
  824. ],
  825. "produces": [
  826. "application/json"
  827. ],
  828. "tags": [
  829. "风险管理v3"
  830. ],
  831. "summary": "查询合同申请表单数据",
  832. "parameters": [
  833. {
  834. "type": "integer",
  835. "description": "用户ID",
  836. "name": "userID",
  837. "in": "query",
  838. "required": true
  839. }
  840. ],
  841. "responses": {
  842. "200": {
  843. "description": "OK",
  844. "schema": {
  845. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  846. }
  847. },
  848. "500": {
  849. "description": "Internal Server Error",
  850. "schema": {
  851. "$ref": "#/definitions/app.Response"
  852. }
  853. }
  854. }
  855. }
  856. },
  857. "/Erms3/QuerySpotContractDetail": {
  858. "get": {
  859. "security": [
  860. {
  861. "ApiKeyAuth": []
  862. }
  863. ],
  864. "produces": [
  865. "application/json"
  866. ],
  867. "tags": [
  868. "风险管理v3"
  869. ],
  870. "summary": "查询合同详细信息",
  871. "parameters": [
  872. {
  873. "type": "string",
  874. "description": "资金账号ID列表,用逗号分隔",
  875. "name": "accountids",
  876. "in": "query",
  877. "required": true
  878. },
  879. {
  880. "type": "integer",
  881. "description": "合同类型,1为采购合同 -1为销售合同",
  882. "name": "contracttype",
  883. "in": "query",
  884. "required": true
  885. },
  886. {
  887. "type": "integer",
  888. "description": "合同模式,1为普通合同 2为回购销售合同",
  889. "name": "contractmode",
  890. "in": "query",
  891. "required": true
  892. },
  893. {
  894. "type": "integer",
  895. "description": "状态,0为履约中 1为已完成",
  896. "name": "status",
  897. "in": "query",
  898. "required": true
  899. }
  900. ],
  901. "responses": {
  902. "200": {
  903. "description": "OK",
  904. "schema": {
  905. "type": "array",
  906. "items": {
  907. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  908. }
  909. }
  910. },
  911. "500": {
  912. "description": "Internal Server Error",
  913. "schema": {
  914. "$ref": "#/definitions/app.Response"
  915. }
  916. }
  917. }
  918. }
  919. },
  920. "/HSBY/GetHsbyMyCount": {
  921. "get": {
  922. "security": [
  923. {
  924. "ApiKeyAuth": []
  925. }
  926. ],
  927. "description": "说明: 不包括已完成的数量。",
  928. "produces": [
  929. "application/json"
  930. ],
  931. "tags": [
  932. "定制【海商报业】"
  933. ],
  934. "summary": "获取我的订单与包裹数量",
  935. "parameters": [
  936. {
  937. "type": "string",
  938. "description": "资金账户列表,格式:1,2,3",
  939. "name": "accountIDs",
  940. "in": "query",
  941. "required": true
  942. }
  943. ],
  944. "responses": {
  945. "200": {
  946. "description": "OK",
  947. "schema": {
  948. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  949. }
  950. },
  951. "500": {
  952. "description": "Internal Server Error",
  953. "schema": {
  954. "$ref": "#/definitions/app.Response"
  955. }
  956. }
  957. }
  958. }
  959. },
  960. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  961. "get": {
  962. "security": [
  963. {
  964. "ApiKeyAuth": []
  965. }
  966. ],
  967. "produces": [
  968. "application/json"
  969. ],
  970. "tags": [
  971. "定制【海商报业】"
  972. ],
  973. "summary": "查询\"我的订单 - 已完成\"单据信息",
  974. "parameters": [
  975. {
  976. "type": "integer",
  977. "description": "页码",
  978. "name": "page",
  979. "in": "query"
  980. },
  981. {
  982. "type": "integer",
  983. "description": "每页条数",
  984. "name": "pagesize",
  985. "in": "query"
  986. },
  987. {
  988. "type": "string",
  989. "description": "资金账户列表,格式:1,2,3",
  990. "name": "accountIDs",
  991. "in": "query",
  992. "required": true
  993. }
  994. ],
  995. "responses": {
  996. "200": {
  997. "description": "OK",
  998. "schema": {
  999. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1000. }
  1001. },
  1002. "500": {
  1003. "description": "Internal Server Error",
  1004. "schema": {
  1005. "$ref": "#/definitions/app.Response"
  1006. }
  1007. }
  1008. }
  1009. }
  1010. },
  1011. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1012. "get": {
  1013. "security": [
  1014. {
  1015. "ApiKeyAuth": []
  1016. }
  1017. ],
  1018. "description": "说明:查询结果已按委托价格和委托时间排序",
  1019. "produces": [
  1020. "application/json"
  1021. ],
  1022. "tags": [
  1023. "定制【海商报业】"
  1024. ],
  1025. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1026. "parameters": [
  1027. {
  1028. "type": "integer",
  1029. "description": "商品ID",
  1030. "name": "goodsID",
  1031. "in": "query",
  1032. "required": true
  1033. },
  1034. {
  1035. "type": "string",
  1036. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1037. "name": "accountIDs",
  1038. "in": "query",
  1039. "required": true
  1040. },
  1041. {
  1042. "type": "integer",
  1043. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1044. "name": "buyOrSell",
  1045. "in": "query"
  1046. },
  1047. {
  1048. "type": "number",
  1049. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1050. "name": "price",
  1051. "in": "query"
  1052. },
  1053. {
  1054. "type": "integer",
  1055. "description": "档位,不传则默认为3档",
  1056. "name": "speed",
  1057. "in": "query"
  1058. }
  1059. ],
  1060. "responses": {
  1061. "200": {
  1062. "description": "OK",
  1063. "schema": {
  1064. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1065. }
  1066. },
  1067. "500": {
  1068. "description": "Internal Server Error",
  1069. "schema": {
  1070. "$ref": "#/definitions/app.Response"
  1071. }
  1072. }
  1073. }
  1074. }
  1075. },
  1076. "/HSBY/QueryHsbyListingGoodsDetail": {
  1077. "get": {
  1078. "security": [
  1079. {
  1080. "ApiKeyAuth": []
  1081. }
  1082. ],
  1083. "produces": [
  1084. "application/json"
  1085. ],
  1086. "tags": [
  1087. "定制【海商报业】"
  1088. ],
  1089. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1090. "parameters": [
  1091. {
  1092. "type": "integer",
  1093. "description": "商品ID",
  1094. "name": "goodsID",
  1095. "in": "query",
  1096. "required": true
  1097. },
  1098. {
  1099. "type": "integer",
  1100. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1101. "name": "AccountID",
  1102. "in": "query"
  1103. }
  1104. ],
  1105. "responses": {
  1106. "200": {
  1107. "description": "OK",
  1108. "schema": {
  1109. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1110. }
  1111. },
  1112. "500": {
  1113. "description": "Internal Server Error",
  1114. "schema": {
  1115. "$ref": "#/definitions/app.Response"
  1116. }
  1117. }
  1118. }
  1119. }
  1120. },
  1121. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  1122. "get": {
  1123. "security": [
  1124. {
  1125. "ApiKeyAuth": []
  1126. }
  1127. ],
  1128. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  1129. "produces": [
  1130. "application/json"
  1131. ],
  1132. "tags": [
  1133. "定制【海商报业】"
  1134. ],
  1135. "summary": "查询“我的订单”信息",
  1136. "parameters": [
  1137. {
  1138. "type": "string",
  1139. "description": "资金账户列表,格式:1,2,3",
  1140. "name": "accountIDs",
  1141. "in": "query",
  1142. "required": true
  1143. },
  1144. {
  1145. "type": "integer",
  1146. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  1147. "name": "myBuyStatus",
  1148. "in": "query"
  1149. }
  1150. ],
  1151. "responses": {
  1152. "200": {
  1153. "description": "OK",
  1154. "schema": {
  1155. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  1156. }
  1157. },
  1158. "500": {
  1159. "description": "Internal Server Error",
  1160. "schema": {
  1161. "$ref": "#/definitions/app.Response"
  1162. }
  1163. }
  1164. }
  1165. }
  1166. },
  1167. "/HSBY/QueryHsbyMyGoods": {
  1168. "get": {
  1169. "security": [
  1170. {
  1171. "ApiKeyAuth": []
  1172. }
  1173. ],
  1174. "produces": [
  1175. "application/json"
  1176. ],
  1177. "tags": [
  1178. "定制【海商报业】"
  1179. ],
  1180. "summary": "查询“我的商品”信息",
  1181. "parameters": [
  1182. {
  1183. "type": "string",
  1184. "description": "资金账户列表,格式:1,2,3",
  1185. "name": "accountIDs",
  1186. "in": "query",
  1187. "required": true
  1188. }
  1189. ],
  1190. "responses": {
  1191. "200": {
  1192. "description": "OK",
  1193. "schema": {
  1194. "$ref": "#/definitions/models.HsbyMyGoods"
  1195. }
  1196. },
  1197. "500": {
  1198. "description": "Internal Server Error",
  1199. "schema": {
  1200. "$ref": "#/definitions/app.Response"
  1201. }
  1202. }
  1203. }
  1204. }
  1205. },
  1206. "/HSBY/QueryHsbyMyPackages": {
  1207. "get": {
  1208. "security": [
  1209. {
  1210. "ApiKeyAuth": []
  1211. }
  1212. ],
  1213. "produces": [
  1214. "application/json"
  1215. ],
  1216. "tags": [
  1217. "定制【海商报业】"
  1218. ],
  1219. "summary": "查询我的包裹信息",
  1220. "parameters": [
  1221. {
  1222. "type": "string",
  1223. "description": "资金账户列表,格式:1,2,3",
  1224. "name": "accountIDs",
  1225. "in": "query",
  1226. "required": true
  1227. },
  1228. {
  1229. "type": "integer",
  1230. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  1231. "name": "takeOrderStatus",
  1232. "in": "query"
  1233. }
  1234. ],
  1235. "responses": {
  1236. "200": {
  1237. "description": "OK",
  1238. "schema": {
  1239. "$ref": "#/definitions/models.HsbyMyPackage"
  1240. }
  1241. },
  1242. "500": {
  1243. "description": "Internal Server Error",
  1244. "schema": {
  1245. "$ref": "#/definitions/app.Response"
  1246. }
  1247. }
  1248. }
  1249. }
  1250. },
  1251. "/HSBY/QueryHsbyPreGoodsDetail": {
  1252. "get": {
  1253. "security": [
  1254. {
  1255. "ApiKeyAuth": []
  1256. }
  1257. ],
  1258. "produces": [
  1259. "application/json"
  1260. ],
  1261. "tags": [
  1262. "定制【海商报业】"
  1263. ],
  1264. "summary": "查询一级市场(产能预售)商品信息详情",
  1265. "parameters": [
  1266. {
  1267. "type": "integer",
  1268. "description": "商品ID",
  1269. "name": "goodsID",
  1270. "in": "query",
  1271. "required": true
  1272. },
  1273. {
  1274. "type": "integer",
  1275. "description": "资金账户,主要用于获取预售商品购买上限",
  1276. "name": "accountID",
  1277. "in": "query",
  1278. "required": true
  1279. }
  1280. ],
  1281. "responses": {
  1282. "200": {
  1283. "description": "OK",
  1284. "schema": {
  1285. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  1286. }
  1287. },
  1288. "500": {
  1289. "description": "Internal Server Error",
  1290. "schema": {
  1291. "$ref": "#/definitions/app.Response"
  1292. }
  1293. }
  1294. }
  1295. }
  1296. },
  1297. "/HSBY/QueryHsbyPreGoodses": {
  1298. "get": {
  1299. "security": [
  1300. {
  1301. "ApiKeyAuth": []
  1302. }
  1303. ],
  1304. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  1305. "produces": [
  1306. "application/json"
  1307. ],
  1308. "tags": [
  1309. "定制【海商报业】"
  1310. ],
  1311. "summary": "查询新品上市商品列表(一级市场产能预售)",
  1312. "parameters": [
  1313. {
  1314. "type": "integer",
  1315. "description": "页码",
  1316. "name": "page",
  1317. "in": "query"
  1318. },
  1319. {
  1320. "type": "integer",
  1321. "description": "每页条数",
  1322. "name": "pagesize",
  1323. "in": "query"
  1324. },
  1325. {
  1326. "type": "string",
  1327. "description": "市场ID列表,格式:1,2,3",
  1328. "name": "marketIDs",
  1329. "in": "query",
  1330. "required": true
  1331. },
  1332. {
  1333. "type": "integer",
  1334. "description": "目的地(省)ID",
  1335. "name": "descProvinceID",
  1336. "in": "query"
  1337. },
  1338. {
  1339. "type": "integer",
  1340. "description": "目的地(市)ID",
  1341. "name": "descCityID",
  1342. "in": "query"
  1343. }
  1344. ],
  1345. "responses": {
  1346. "200": {
  1347. "description": "OK",
  1348. "schema": {
  1349. "$ref": "#/definitions/models.HsbyPreGoods"
  1350. }
  1351. },
  1352. "500": {
  1353. "description": "Internal Server Error",
  1354. "schema": {
  1355. "$ref": "#/definitions/app.Response"
  1356. }
  1357. }
  1358. }
  1359. }
  1360. },
  1361. "/HSBY/QueryHsbySellMyDetails": {
  1362. "get": {
  1363. "security": [
  1364. {
  1365. "ApiKeyAuth": []
  1366. }
  1367. ],
  1368. "description": "说明:已发布 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  1369. "produces": [
  1370. "application/json"
  1371. ],
  1372. "tags": [
  1373. "定制【海商报业】"
  1374. ],
  1375. "summary": "查询\"我的闲置\"单据信息",
  1376. "parameters": [
  1377. {
  1378. "type": "integer",
  1379. "description": "页码",
  1380. "name": "page",
  1381. "in": "query"
  1382. },
  1383. {
  1384. "type": "integer",
  1385. "description": "每页条数",
  1386. "name": "pagesize",
  1387. "in": "query"
  1388. },
  1389. {
  1390. "type": "string",
  1391. "description": "资金账户列表,格式:1,2,3",
  1392. "name": "accountIDs",
  1393. "in": "query",
  1394. "required": true
  1395. },
  1396. {
  1397. "type": "integer",
  1398. "description": "单据类型:0 - 已发布(默认), 1 - 已完成",
  1399. "name": "orderType",
  1400. "in": "query"
  1401. }
  1402. ],
  1403. "responses": {
  1404. "200": {
  1405. "description": "OK",
  1406. "schema": {
  1407. "$ref": "#/definitions/models.HsbySellMyDetail"
  1408. }
  1409. },
  1410. "500": {
  1411. "description": "Internal Server Error",
  1412. "schema": {
  1413. "$ref": "#/definitions/app.Response"
  1414. }
  1415. }
  1416. }
  1417. }
  1418. },
  1419. "/HSBY/QueryHsbyTopGoodses": {
  1420. "get": {
  1421. "security": [
  1422. {
  1423. "ApiKeyAuth": []
  1424. }
  1425. ],
  1426. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  1427. "produces": [
  1428. "application/json"
  1429. ],
  1430. "tags": [
  1431. "定制【海商报业】"
  1432. ],
  1433. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  1434. "parameters": [
  1435. {
  1436. "type": "integer",
  1437. "description": "页码",
  1438. "name": "page",
  1439. "in": "query"
  1440. },
  1441. {
  1442. "type": "integer",
  1443. "description": "每页条数",
  1444. "name": "pagesize",
  1445. "in": "query"
  1446. },
  1447. {
  1448. "type": "string",
  1449. "description": "市场ID列表,格式:1,2,3",
  1450. "name": "marketIDs",
  1451. "in": "query",
  1452. "required": true
  1453. },
  1454. {
  1455. "type": "integer",
  1456. "description": "目的地(省)ID",
  1457. "name": "descProvinceID",
  1458. "in": "query"
  1459. },
  1460. {
  1461. "type": "integer",
  1462. "description": "目的地(市)ID",
  1463. "name": "descCityID",
  1464. "in": "query"
  1465. }
  1466. ],
  1467. "responses": {
  1468. "200": {
  1469. "description": "OK",
  1470. "schema": {
  1471. "$ref": "#/definitions/models.HsbyTopGoods"
  1472. }
  1473. },
  1474. "500": {
  1475. "description": "Internal Server Error",
  1476. "schema": {
  1477. "$ref": "#/definitions/app.Response"
  1478. }
  1479. }
  1480. }
  1481. }
  1482. },
  1483. "/HSBY/QueryProvincesAndCities": {
  1484. "get": {
  1485. "security": [
  1486. {
  1487. "ApiKeyAuth": []
  1488. }
  1489. ],
  1490. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  1491. "produces": [
  1492. "application/json"
  1493. ],
  1494. "tags": [
  1495. "定制【海商报业】"
  1496. ],
  1497. "summary": "查询省市信息(不包括区)",
  1498. "parameters": [
  1499. {
  1500. "type": "integer",
  1501. "description": "省ID",
  1502. "name": "provinceID",
  1503. "in": "query"
  1504. }
  1505. ],
  1506. "responses": {
  1507. "200": {
  1508. "description": "OK",
  1509. "schema": {
  1510. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  1511. }
  1512. },
  1513. "500": {
  1514. "description": "Internal Server Error",
  1515. "schema": {
  1516. "$ref": "#/definitions/app.Response"
  1517. }
  1518. }
  1519. }
  1520. }
  1521. },
  1522. "/HSBY/SetHsbyMyPackagesStatus": {
  1523. "post": {
  1524. "security": [
  1525. {
  1526. "ApiKeyAuth": []
  1527. }
  1528. ],
  1529. "produces": [
  1530. "application/json"
  1531. ],
  1532. "tags": [
  1533. "定制【海商报业】"
  1534. ],
  1535. "summary": "设置我的包裹已收货状态",
  1536. "parameters": [
  1537. {
  1538. "type": "string",
  1539. "description": "提货单号",
  1540. "name": "takeOrderID",
  1541. "in": "query",
  1542. "required": true
  1543. },
  1544. {
  1545. "type": "integer",
  1546. "description": "资金账号",
  1547. "name": "accountID",
  1548. "in": "query",
  1549. "required": true
  1550. }
  1551. ],
  1552. "responses": {
  1553. "200": {
  1554. "description": "OK",
  1555. "schema": {
  1556. "$ref": "#/definitions/app.Response"
  1557. }
  1558. },
  1559. "500": {
  1560. "description": "Internal Server Error",
  1561. "schema": {
  1562. "$ref": "#/definitions/app.Response"
  1563. }
  1564. }
  1565. }
  1566. }
  1567. },
  1568. "/Order/QueryHisTradeDetail": {
  1569. "get": {
  1570. "security": [
  1571. {
  1572. "ApiKeyAuth": []
  1573. }
  1574. ],
  1575. "produces": [
  1576. "application/json"
  1577. ],
  1578. "tags": [
  1579. "通用单据"
  1580. ],
  1581. "summary": "历史成交单查询(合约市场)",
  1582. "parameters": [
  1583. {
  1584. "type": "string",
  1585. "description": "资金账户 - 格式:1,2,3",
  1586. "name": "accountID",
  1587. "in": "query",
  1588. "required": true
  1589. },
  1590. {
  1591. "type": "integer",
  1592. "description": "成交单号",
  1593. "name": "tradeID",
  1594. "in": "query"
  1595. },
  1596. {
  1597. "type": "integer",
  1598. "description": "委托单号",
  1599. "name": "orderID",
  1600. "in": "query"
  1601. },
  1602. {
  1603. "type": "string",
  1604. "description": "交易模式 - 格式:1,2,3",
  1605. "name": "tradeMode",
  1606. "in": "query"
  1607. },
  1608. {
  1609. "type": "integer",
  1610. "description": "委托单据类型",
  1611. "name": "buildType",
  1612. "in": "query"
  1613. },
  1614. {
  1615. "type": "string",
  1616. "description": "成交类别 - 格式:1,2,3",
  1617. "name": "tradeType",
  1618. "in": "query"
  1619. },
  1620. {
  1621. "type": "string",
  1622. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1623. "name": "startDate",
  1624. "in": "query"
  1625. },
  1626. {
  1627. "type": "string",
  1628. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1629. "name": "endDate",
  1630. "in": "query"
  1631. }
  1632. ],
  1633. "responses": {
  1634. "200": {
  1635. "description": "OK",
  1636. "schema": {
  1637. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  1638. }
  1639. },
  1640. "500": {
  1641. "description": "Internal Server Error",
  1642. "schema": {
  1643. "$ref": "#/definitions/app.Response"
  1644. }
  1645. }
  1646. }
  1647. }
  1648. },
  1649. "/Order/QueryHisTradeOrderDetail": {
  1650. "get": {
  1651. "security": [
  1652. {
  1653. "ApiKeyAuth": []
  1654. }
  1655. ],
  1656. "produces": [
  1657. "application/json"
  1658. ],
  1659. "tags": [
  1660. "通用单据"
  1661. ],
  1662. "summary": "历史委托单查询请求(合约市场)",
  1663. "parameters": [
  1664. {
  1665. "type": "string",
  1666. "description": "资金账户 - 格式:1,2,3",
  1667. "name": "accountID",
  1668. "in": "query",
  1669. "required": true
  1670. },
  1671. {
  1672. "type": "string",
  1673. "description": "交易模式 - 格式:1,2,3",
  1674. "name": "tradeMode",
  1675. "in": "query"
  1676. },
  1677. {
  1678. "type": "string",
  1679. "description": "委托状态 - 格式:1,2,3",
  1680. "name": "orderStatus",
  1681. "in": "query"
  1682. },
  1683. {
  1684. "type": "integer",
  1685. "description": "委托单号",
  1686. "name": "orderID",
  1687. "in": "query"
  1688. },
  1689. {
  1690. "type": "string",
  1691. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1692. "name": "startDate",
  1693. "in": "query"
  1694. },
  1695. {
  1696. "type": "string",
  1697. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1698. "name": "endDate",
  1699. "in": "query"
  1700. }
  1701. ],
  1702. "responses": {
  1703. "200": {
  1704. "description": "OK",
  1705. "schema": {
  1706. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  1707. }
  1708. },
  1709. "500": {
  1710. "description": "Internal Server Error",
  1711. "schema": {
  1712. "$ref": "#/definitions/app.Response"
  1713. }
  1714. }
  1715. }
  1716. }
  1717. },
  1718. "/Order/QueryTradeDetail": {
  1719. "get": {
  1720. "security": [
  1721. {
  1722. "ApiKeyAuth": []
  1723. }
  1724. ],
  1725. "produces": [
  1726. "application/json"
  1727. ],
  1728. "tags": [
  1729. "通用单据"
  1730. ],
  1731. "summary": "成交单查询(合约市场)",
  1732. "parameters": [
  1733. {
  1734. "type": "string",
  1735. "description": "资金账户 - 格式:1,2,3",
  1736. "name": "accountID",
  1737. "in": "query",
  1738. "required": true
  1739. },
  1740. {
  1741. "type": "integer",
  1742. "description": "成交单号",
  1743. "name": "tradeID",
  1744. "in": "query"
  1745. },
  1746. {
  1747. "type": "integer",
  1748. "description": "委托单号",
  1749. "name": "orderID",
  1750. "in": "query"
  1751. },
  1752. {
  1753. "type": "string",
  1754. "description": "交易模式 - 格式:1,2,3",
  1755. "name": "tradeMode",
  1756. "in": "query"
  1757. },
  1758. {
  1759. "type": "integer",
  1760. "description": "委托单据类型",
  1761. "name": "buildType",
  1762. "in": "query"
  1763. },
  1764. {
  1765. "type": "string",
  1766. "description": "成交类别 - 格式:1,2,3",
  1767. "name": "tradeType",
  1768. "in": "query"
  1769. }
  1770. ],
  1771. "responses": {
  1772. "200": {
  1773. "description": "OK",
  1774. "schema": {
  1775. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  1776. }
  1777. },
  1778. "500": {
  1779. "description": "Internal Server Error",
  1780. "schema": {
  1781. "$ref": "#/definitions/app.Response"
  1782. }
  1783. }
  1784. }
  1785. }
  1786. },
  1787. "/Order/QueryTradeOrderDetail": {
  1788. "get": {
  1789. "security": [
  1790. {
  1791. "ApiKeyAuth": []
  1792. }
  1793. ],
  1794. "produces": [
  1795. "application/json"
  1796. ],
  1797. "tags": [
  1798. "通用单据"
  1799. ],
  1800. "summary": "委托单查询请求(合约市场)",
  1801. "parameters": [
  1802. {
  1803. "type": "string",
  1804. "description": "资金账户 - 格式:1,2,3",
  1805. "name": "accountID",
  1806. "in": "query",
  1807. "required": true
  1808. },
  1809. {
  1810. "type": "string",
  1811. "description": "交易模式 - 格式:1,2,3",
  1812. "name": "tradeMode",
  1813. "in": "query"
  1814. },
  1815. {
  1816. "type": "string",
  1817. "description": "委托状态 - 格式:1,2,3",
  1818. "name": "orderStatus",
  1819. "in": "query"
  1820. },
  1821. {
  1822. "type": "integer",
  1823. "description": "委托单号",
  1824. "name": "orderID",
  1825. "in": "query"
  1826. }
  1827. ],
  1828. "responses": {
  1829. "200": {
  1830. "description": "OK",
  1831. "schema": {
  1832. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  1833. }
  1834. },
  1835. "500": {
  1836. "description": "Internal Server Error",
  1837. "schema": {
  1838. "$ref": "#/definitions/app.Response"
  1839. }
  1840. }
  1841. }
  1842. }
  1843. },
  1844. "/Order/QueryTradePosition": {
  1845. "get": {
  1846. "security": [
  1847. {
  1848. "ApiKeyAuth": []
  1849. }
  1850. ],
  1851. "produces": [
  1852. "application/json"
  1853. ],
  1854. "tags": [
  1855. "通用单据"
  1856. ],
  1857. "summary": "持仓汇总查询(合约市场)",
  1858. "parameters": [
  1859. {
  1860. "type": "string",
  1861. "description": "资金账户 - 格式:1,2,3",
  1862. "name": "accountID",
  1863. "in": "query",
  1864. "required": true
  1865. },
  1866. {
  1867. "type": "string",
  1868. "description": "交易模式 - 格式:1,2,3",
  1869. "name": "tradeMode",
  1870. "in": "query"
  1871. }
  1872. ],
  1873. "responses": {
  1874. "200": {
  1875. "description": "OK",
  1876. "schema": {
  1877. "$ref": "#/definitions/order.QueryTradePositionRsp"
  1878. }
  1879. },
  1880. "500": {
  1881. "description": "Internal Server Error",
  1882. "schema": {
  1883. "$ref": "#/definitions/app.Response"
  1884. }
  1885. }
  1886. }
  1887. }
  1888. },
  1889. "/Quote/QueryHistoryDatas": {
  1890. "get": {
  1891. "security": [
  1892. {
  1893. "ApiKeyAuth": []
  1894. }
  1895. ],
  1896. "produces": [
  1897. "application/json"
  1898. ],
  1899. "tags": [
  1900. "行情服务"
  1901. ],
  1902. "summary": "查询行情历史数据",
  1903. "parameters": [
  1904. {
  1905. "type": "integer",
  1906. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  1907. "name": "cycleType",
  1908. "in": "query",
  1909. "required": true
  1910. },
  1911. {
  1912. "type": "string",
  1913. "description": "商品代码",
  1914. "name": "goodsCode",
  1915. "in": "query",
  1916. "required": true
  1917. },
  1918. {
  1919. "type": "string",
  1920. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  1921. "name": "startTime",
  1922. "in": "query"
  1923. },
  1924. {
  1925. "type": "string",
  1926. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  1927. "name": "endTime",
  1928. "in": "query"
  1929. },
  1930. {
  1931. "type": "integer",
  1932. "description": "条数",
  1933. "name": "count",
  1934. "in": "query"
  1935. },
  1936. {
  1937. "type": "boolean",
  1938. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  1939. "name": "isAsc",
  1940. "in": "query"
  1941. }
  1942. ],
  1943. "responses": {
  1944. "200": {
  1945. "description": "OK",
  1946. "schema": {
  1947. "$ref": "#/definitions/quote.HistoryData"
  1948. }
  1949. },
  1950. "500": {
  1951. "description": "Internal Server Error",
  1952. "schema": {
  1953. "$ref": "#/definitions/app.Response"
  1954. }
  1955. }
  1956. }
  1957. }
  1958. },
  1959. "/Quote/QueryTSData": {
  1960. "get": {
  1961. "produces": [
  1962. "application/json"
  1963. ],
  1964. "tags": [
  1965. "行情服务"
  1966. ],
  1967. "summary": "分时图数据查询",
  1968. "parameters": [
  1969. {
  1970. "type": "string",
  1971. "description": "商品代码",
  1972. "name": "GoodsCode",
  1973. "in": "query",
  1974. "required": true
  1975. }
  1976. ],
  1977. "responses": {
  1978. "200": {
  1979. "description": "OK",
  1980. "schema": {
  1981. "$ref": "#/definitions/quote.QueryTSDataRsp"
  1982. }
  1983. },
  1984. "500": {
  1985. "description": "Internal Server Error",
  1986. "schema": {
  1987. "$ref": "#/definitions/app.Response"
  1988. }
  1989. }
  1990. }
  1991. }
  1992. },
  1993. "/SZDZ/QueryConvertConfig": {
  1994. "get": {
  1995. "security": [
  1996. {
  1997. "ApiKeyAuth": []
  1998. }
  1999. ],
  2000. "produces": [
  2001. "application/json"
  2002. ],
  2003. "tags": [
  2004. "定制【尚志大宗】"
  2005. ],
  2006. "summary": "查询交易系统转换设置",
  2007. "parameters": [
  2008. {
  2009. "type": "integer",
  2010. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  2011. "name": "convertType",
  2012. "in": "query"
  2013. },
  2014. {
  2015. "type": "string",
  2016. "description": "外部商品代码[JD\\PD]",
  2017. "name": "outerGoodsCode",
  2018. "in": "query"
  2019. },
  2020. {
  2021. "type": "string",
  2022. "description": "内部商品ID列表[交易],格式:1,2,3",
  2023. "name": "innerGoodsIDs",
  2024. "in": "query"
  2025. }
  2026. ],
  2027. "responses": {
  2028. "200": {
  2029. "description": "OK",
  2030. "schema": {
  2031. "$ref": "#/definitions/models.Szdz3convertconfig"
  2032. }
  2033. },
  2034. "500": {
  2035. "description": "Internal Server Error",
  2036. "schema": {
  2037. "$ref": "#/definitions/app.Response"
  2038. }
  2039. }
  2040. }
  2041. }
  2042. },
  2043. "/SZDZ/QueryConvertLog": {
  2044. "get": {
  2045. "security": [
  2046. {
  2047. "ApiKeyAuth": []
  2048. }
  2049. ],
  2050. "produces": [
  2051. "application/json"
  2052. ],
  2053. "tags": [
  2054. "定制【尚志大宗】"
  2055. ],
  2056. "summary": "交易系统转换流水查询",
  2057. "parameters": [
  2058. {
  2059. "type": "string",
  2060. "description": "资金账户 - 格式:1,2,3",
  2061. "name": "accountID",
  2062. "in": "query",
  2063. "required": true
  2064. },
  2065. {
  2066. "type": "string",
  2067. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2068. "name": "startDate",
  2069. "in": "query"
  2070. },
  2071. {
  2072. "type": "string",
  2073. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2074. "name": "endDate",
  2075. "in": "query"
  2076. }
  2077. ],
  2078. "responses": {
  2079. "200": {
  2080. "description": "OK",
  2081. "schema": {
  2082. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  2083. }
  2084. },
  2085. "500": {
  2086. "description": "Internal Server Error",
  2087. "schema": {
  2088. "$ref": "#/definitions/app.Response"
  2089. }
  2090. }
  2091. }
  2092. }
  2093. },
  2094. "/SZDZ/QueryGoodsPickup": {
  2095. "get": {
  2096. "security": [
  2097. {
  2098. "ApiKeyAuth": []
  2099. }
  2100. ],
  2101. "produces": [
  2102. "application/json"
  2103. ],
  2104. "tags": [
  2105. "定制【尚志大宗】"
  2106. ],
  2107. "summary": "商品提货单查询",
  2108. "parameters": [
  2109. {
  2110. "type": "string",
  2111. "description": "资金账户 - 格式:1,2,3",
  2112. "name": "accountID",
  2113. "in": "query",
  2114. "required": true
  2115. },
  2116. {
  2117. "type": "integer",
  2118. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2119. "name": "takeOrderStatus",
  2120. "in": "query"
  2121. }
  2122. ],
  2123. "responses": {
  2124. "200": {
  2125. "description": "OK",
  2126. "schema": {
  2127. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  2128. }
  2129. },
  2130. "500": {
  2131. "description": "Internal Server Error",
  2132. "schema": {
  2133. "$ref": "#/definitions/app.Response"
  2134. }
  2135. }
  2136. }
  2137. }
  2138. },
  2139. "/SZDZ/QueryRecieptOrder": {
  2140. "get": {
  2141. "security": [
  2142. {
  2143. "ApiKeyAuth": []
  2144. }
  2145. ],
  2146. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  2147. "produces": [
  2148. "application/json"
  2149. ],
  2150. "tags": [
  2151. "定制【尚志大宗】"
  2152. ],
  2153. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  2154. "parameters": [
  2155. {
  2156. "type": "integer",
  2157. "description": "页码",
  2158. "name": "page",
  2159. "in": "query"
  2160. },
  2161. {
  2162. "type": "integer",
  2163. "description": "每页条数",
  2164. "name": "pagesize",
  2165. "in": "query"
  2166. },
  2167. {
  2168. "type": "integer",
  2169. "description": "商品ID",
  2170. "name": "goodsID",
  2171. "in": "query",
  2172. "required": true
  2173. },
  2174. {
  2175. "type": "string",
  2176. "description": "所属账户名称",
  2177. "name": "accountName",
  2178. "in": "query"
  2179. },
  2180. {
  2181. "type": "integer",
  2182. "description": "市场ID",
  2183. "name": "marketID",
  2184. "in": "query"
  2185. },
  2186. {
  2187. "type": "integer",
  2188. "description": "方向 - 0:买 1:卖",
  2189. "name": "buyorsell",
  2190. "in": "query",
  2191. "required": true
  2192. }
  2193. ],
  2194. "responses": {
  2195. "200": {
  2196. "description": "OK",
  2197. "schema": {
  2198. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  2199. }
  2200. },
  2201. "500": {
  2202. "description": "Internal Server Error",
  2203. "schema": {
  2204. "$ref": "#/definitions/app.Response"
  2205. }
  2206. }
  2207. }
  2208. }
  2209. },
  2210. "/SZDZ/QuerySZDZTradePosition": {
  2211. "get": {
  2212. "security": [
  2213. {
  2214. "ApiKeyAuth": []
  2215. }
  2216. ],
  2217. "produces": [
  2218. "application/json"
  2219. ],
  2220. "tags": [
  2221. "定制【尚志大宗】"
  2222. ],
  2223. "summary": "持仓汇总查询(尚志大宗)",
  2224. "parameters": [
  2225. {
  2226. "type": "integer",
  2227. "description": "资金账户",
  2228. "name": "accountID",
  2229. "in": "query",
  2230. "required": true
  2231. }
  2232. ],
  2233. "responses": {
  2234. "200": {
  2235. "description": "OK",
  2236. "schema": {
  2237. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  2238. }
  2239. },
  2240. "500": {
  2241. "description": "Internal Server Error",
  2242. "schema": {
  2243. "$ref": "#/definitions/app.Response"
  2244. }
  2245. }
  2246. }
  2247. }
  2248. },
  2249. "/SZDZ/SearchWhite": {
  2250. "get": {
  2251. "security": [
  2252. {
  2253. "ApiKeyAuth": []
  2254. }
  2255. ],
  2256. "produces": [
  2257. "application/json"
  2258. ],
  2259. "tags": [
  2260. "定制【尚志大宗】"
  2261. ],
  2262. "summary": "搜索白名单",
  2263. "parameters": [
  2264. {
  2265. "type": "integer",
  2266. "description": "用户ID",
  2267. "name": "userID",
  2268. "in": "query",
  2269. "required": true
  2270. }
  2271. ],
  2272. "responses": {
  2273. "200": {
  2274. "description": "OK",
  2275. "schema": {
  2276. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  2277. }
  2278. },
  2279. "500": {
  2280. "description": "Internal Server Error",
  2281. "schema": {
  2282. "$ref": "#/definitions/app.Response"
  2283. }
  2284. }
  2285. }
  2286. }
  2287. },
  2288. "/Search/SearchGoodses": {
  2289. "get": {
  2290. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  2291. "produces": [
  2292. "application/json"
  2293. ],
  2294. "tags": [
  2295. "检索服务"
  2296. ],
  2297. "summary": "检索商品信息",
  2298. "parameters": [
  2299. {
  2300. "type": "string",
  2301. "description": "检索内容",
  2302. "name": "content",
  2303. "in": "query",
  2304. "required": true
  2305. }
  2306. ],
  2307. "responses": {
  2308. "200": {
  2309. "description": "OK",
  2310. "schema": {
  2311. "$ref": "#/definitions/models.SearchGoods"
  2312. }
  2313. },
  2314. "500": {
  2315. "description": "Internal Server Error",
  2316. "schema": {
  2317. "$ref": "#/definitions/app.Response"
  2318. }
  2319. }
  2320. }
  2321. }
  2322. },
  2323. "/TaAccount/QueryAmountLog": {
  2324. "get": {
  2325. "security": [
  2326. {
  2327. "ApiKeyAuth": []
  2328. }
  2329. ],
  2330. "produces": [
  2331. "application/json"
  2332. ],
  2333. "tags": [
  2334. "资金账户"
  2335. ],
  2336. "summary": "资金流水查询(当前)",
  2337. "parameters": [
  2338. {
  2339. "type": "integer",
  2340. "description": "页码",
  2341. "name": "page",
  2342. "in": "query"
  2343. },
  2344. {
  2345. "type": "integer",
  2346. "description": "每页条数",
  2347. "name": "pagesize",
  2348. "in": "query"
  2349. },
  2350. {
  2351. "type": "string",
  2352. "description": "资金账户 - 格式:1,2,3",
  2353. "name": "accountID",
  2354. "in": "query",
  2355. "required": true
  2356. },
  2357. {
  2358. "type": "string",
  2359. "description": "资金操作类型 - 格式:1,2,3",
  2360. "name": "OperateType",
  2361. "in": "query"
  2362. }
  2363. ],
  2364. "responses": {
  2365. "200": {
  2366. "description": "OK",
  2367. "schema": {
  2368. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  2369. }
  2370. },
  2371. "500": {
  2372. "description": "Internal Server Error",
  2373. "schema": {
  2374. "$ref": "#/definitions/app.Response"
  2375. }
  2376. }
  2377. }
  2378. }
  2379. },
  2380. "/TaAccount/QueryHisAmountLog": {
  2381. "get": {
  2382. "security": [
  2383. {
  2384. "ApiKeyAuth": []
  2385. }
  2386. ],
  2387. "produces": [
  2388. "application/json"
  2389. ],
  2390. "tags": [
  2391. "资金账户"
  2392. ],
  2393. "summary": "资金流水查询(历史)",
  2394. "parameters": [
  2395. {
  2396. "type": "integer",
  2397. "description": "页码",
  2398. "name": "page",
  2399. "in": "query"
  2400. },
  2401. {
  2402. "type": "integer",
  2403. "description": "每页条数",
  2404. "name": "pagesize",
  2405. "in": "query"
  2406. },
  2407. {
  2408. "type": "string",
  2409. "description": "资金账户 - 格式:1,2,3",
  2410. "name": "accountID",
  2411. "in": "query",
  2412. "required": true
  2413. },
  2414. {
  2415. "type": "string",
  2416. "description": "资金操作类型 - 格式:1,2,3",
  2417. "name": "OperateType",
  2418. "in": "query"
  2419. },
  2420. {
  2421. "type": "string",
  2422. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2423. "name": "startDate",
  2424. "in": "query"
  2425. },
  2426. {
  2427. "type": "string",
  2428. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2429. "name": "endDate",
  2430. "in": "query"
  2431. }
  2432. ],
  2433. "responses": {
  2434. "200": {
  2435. "description": "OK",
  2436. "schema": {
  2437. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  2438. }
  2439. },
  2440. "500": {
  2441. "description": "Internal Server Error",
  2442. "schema": {
  2443. "$ref": "#/definitions/app.Response"
  2444. }
  2445. }
  2446. }
  2447. }
  2448. },
  2449. "/User/AddMessageBoard": {
  2450. "post": {
  2451. "security": [
  2452. {
  2453. "ApiKeyAuth": []
  2454. }
  2455. ],
  2456. "produces": [
  2457. "application/json"
  2458. ],
  2459. "tags": [
  2460. "用户信息"
  2461. ],
  2462. "summary": "添加用户留言板信息",
  2463. "parameters": [
  2464. {
  2465. "type": "integer",
  2466. "description": "用户ID",
  2467. "name": "userID",
  2468. "in": "query",
  2469. "required": true
  2470. },
  2471. {
  2472. "type": "string",
  2473. "description": "留言信息",
  2474. "name": "message",
  2475. "in": "query",
  2476. "required": true
  2477. }
  2478. ],
  2479. "responses": {
  2480. "200": {
  2481. "description": "OK",
  2482. "schema": {
  2483. "$ref": "#/definitions/app.Response"
  2484. }
  2485. },
  2486. "500": {
  2487. "description": "Internal Server Error",
  2488. "schema": {
  2489. "$ref": "#/definitions/app.Response"
  2490. }
  2491. }
  2492. }
  2493. }
  2494. },
  2495. "/User/AddUserFavoriteGoods": {
  2496. "post": {
  2497. "security": [
  2498. {
  2499. "ApiKeyAuth": []
  2500. }
  2501. ],
  2502. "produces": [
  2503. "application/json"
  2504. ],
  2505. "tags": [
  2506. "用户信息"
  2507. ],
  2508. "summary": "添加用户商品收藏信息",
  2509. "parameters": [
  2510. {
  2511. "type": "integer",
  2512. "description": "用户ID",
  2513. "name": "userID",
  2514. "in": "query",
  2515. "required": true
  2516. },
  2517. {
  2518. "type": "integer",
  2519. "description": "商品ID",
  2520. "name": "goodsID",
  2521. "in": "query",
  2522. "required": true
  2523. }
  2524. ],
  2525. "responses": {
  2526. "200": {
  2527. "description": "OK",
  2528. "schema": {
  2529. "$ref": "#/definitions/app.Response"
  2530. }
  2531. },
  2532. "500": {
  2533. "description": "Internal Server Error",
  2534. "schema": {
  2535. "$ref": "#/definitions/app.Response"
  2536. }
  2537. }
  2538. }
  2539. }
  2540. },
  2541. "/User/GetLoginID": {
  2542. "get": {
  2543. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  2544. "produces": [
  2545. "application/json"
  2546. ],
  2547. "tags": [
  2548. "用户信息"
  2549. ],
  2550. "summary": "获取登录ID",
  2551. "parameters": [
  2552. {
  2553. "type": "string",
  2554. "description": "登录代码",
  2555. "name": "username",
  2556. "in": "query",
  2557. "required": true
  2558. }
  2559. ],
  2560. "responses": {
  2561. "200": {
  2562. "description": "OK",
  2563. "schema": {
  2564. "$ref": "#/definitions/app.Response"
  2565. }
  2566. },
  2567. "500": {
  2568. "description": "Internal Server Error",
  2569. "schema": {
  2570. "$ref": "#/definitions/app.Response"
  2571. }
  2572. }
  2573. }
  2574. }
  2575. },
  2576. "/User/GetUserAccount": {
  2577. "get": {
  2578. "security": [
  2579. {
  2580. "ApiKeyAuth": []
  2581. }
  2582. ],
  2583. "produces": [
  2584. "application/json"
  2585. ],
  2586. "tags": [
  2587. "用户信息"
  2588. ],
  2589. "summary": "获取用户账号信息",
  2590. "parameters": [
  2591. {
  2592. "type": "integer",
  2593. "description": "用户ID",
  2594. "name": "userID",
  2595. "in": "query",
  2596. "required": true
  2597. }
  2598. ],
  2599. "responses": {
  2600. "200": {
  2601. "description": "OK",
  2602. "schema": {
  2603. "$ref": "#/definitions/models.Useraccount"
  2604. }
  2605. },
  2606. "500": {
  2607. "description": "Internal Server Error",
  2608. "schema": {
  2609. "$ref": "#/definitions/app.Response"
  2610. }
  2611. }
  2612. }
  2613. }
  2614. },
  2615. "/User/GetUserAuthStatus": {
  2616. "get": {
  2617. "security": [
  2618. {
  2619. "ApiKeyAuth": []
  2620. }
  2621. ],
  2622. "produces": [
  2623. "application/json"
  2624. ],
  2625. "tags": [
  2626. "用户信息"
  2627. ],
  2628. "summary": "获取用户实名认证状态",
  2629. "parameters": [
  2630. {
  2631. "type": "integer",
  2632. "description": "用户ID",
  2633. "name": "userID",
  2634. "in": "query",
  2635. "required": true
  2636. }
  2637. ],
  2638. "responses": {
  2639. "200": {
  2640. "description": "OK",
  2641. "schema": {
  2642. "$ref": "#/definitions/app.Response"
  2643. }
  2644. },
  2645. "500": {
  2646. "description": "Internal Server Error",
  2647. "schema": {
  2648. "$ref": "#/definitions/app.Response"
  2649. }
  2650. }
  2651. }
  2652. }
  2653. },
  2654. "/User/QueryMessageBoard": {
  2655. "get": {
  2656. "security": [
  2657. {
  2658. "ApiKeyAuth": []
  2659. }
  2660. ],
  2661. "produces": [
  2662. "application/json"
  2663. ],
  2664. "tags": [
  2665. "用户信息"
  2666. ],
  2667. "summary": "获取用户留言板信息",
  2668. "parameters": [
  2669. {
  2670. "type": "integer",
  2671. "description": "用户ID",
  2672. "name": "userID",
  2673. "in": "query",
  2674. "required": true
  2675. }
  2676. ],
  2677. "responses": {
  2678. "200": {
  2679. "description": "OK",
  2680. "schema": {
  2681. "$ref": "#/definitions/models.Messageboard"
  2682. }
  2683. },
  2684. "500": {
  2685. "description": "Internal Server Error",
  2686. "schema": {
  2687. "$ref": "#/definitions/app.Response"
  2688. }
  2689. }
  2690. }
  2691. }
  2692. },
  2693. "/User/QueryUserFavoriteGoodses": {
  2694. "get": {
  2695. "security": [
  2696. {
  2697. "ApiKeyAuth": []
  2698. }
  2699. ],
  2700. "produces": [
  2701. "application/json"
  2702. ],
  2703. "tags": [
  2704. "用户信息"
  2705. ],
  2706. "summary": "获取用户商品收藏信息",
  2707. "parameters": [
  2708. {
  2709. "type": "integer",
  2710. "description": "用户ID",
  2711. "name": "userID",
  2712. "in": "query",
  2713. "required": true
  2714. }
  2715. ],
  2716. "responses": {
  2717. "200": {
  2718. "description": "OK",
  2719. "schema": {
  2720. "$ref": "#/definitions/models.Userfavoritegoods"
  2721. }
  2722. },
  2723. "500": {
  2724. "description": "Internal Server Error",
  2725. "schema": {
  2726. "$ref": "#/definitions/app.Response"
  2727. }
  2728. }
  2729. }
  2730. }
  2731. },
  2732. "/User/QueryUserInfo": {
  2733. "get": {
  2734. "security": [
  2735. {
  2736. "ApiKeyAuth": []
  2737. }
  2738. ],
  2739. "produces": [
  2740. "application/json"
  2741. ],
  2742. "tags": [
  2743. "用户信息"
  2744. ],
  2745. "summary": "获取用户信息",
  2746. "parameters": [
  2747. {
  2748. "type": "integer",
  2749. "description": "用户ID",
  2750. "name": "userID",
  2751. "in": "query",
  2752. "required": true
  2753. }
  2754. ],
  2755. "responses": {
  2756. "200": {
  2757. "description": "OK",
  2758. "schema": {
  2759. "$ref": "#/definitions/models.Userinfo"
  2760. }
  2761. },
  2762. "500": {
  2763. "description": "Internal Server Error",
  2764. "schema": {
  2765. "$ref": "#/definitions/app.Response"
  2766. }
  2767. }
  2768. }
  2769. }
  2770. },
  2771. "/User/QueryUserReferNum": {
  2772. "get": {
  2773. "produces": [
  2774. "application/json"
  2775. ],
  2776. "tags": [
  2777. "用户信息"
  2778. ],
  2779. "summary": "获取用户邀请码",
  2780. "parameters": [
  2781. {
  2782. "type": "integer",
  2783. "description": "用户ID",
  2784. "name": "userID",
  2785. "in": "query",
  2786. "required": true
  2787. }
  2788. ],
  2789. "responses": {
  2790. "200": {
  2791. "description": "OK",
  2792. "schema": {
  2793. "$ref": "#/definitions/app.Response"
  2794. }
  2795. },
  2796. "500": {
  2797. "description": "Internal Server Error",
  2798. "schema": {
  2799. "$ref": "#/definitions/app.Response"
  2800. }
  2801. }
  2802. }
  2803. }
  2804. },
  2805. "/User/RemoveUserFavoriteGoods": {
  2806. "post": {
  2807. "security": [
  2808. {
  2809. "ApiKeyAuth": []
  2810. }
  2811. ],
  2812. "produces": [
  2813. "application/json"
  2814. ],
  2815. "tags": [
  2816. "用户信息"
  2817. ],
  2818. "summary": "移除用户商品收藏信息",
  2819. "parameters": [
  2820. {
  2821. "type": "integer",
  2822. "description": "用户ID",
  2823. "name": "userID",
  2824. "in": "query",
  2825. "required": true
  2826. },
  2827. {
  2828. "type": "integer",
  2829. "description": "商品ID",
  2830. "name": "goodsID",
  2831. "in": "query",
  2832. "required": true
  2833. }
  2834. ],
  2835. "responses": {
  2836. "200": {
  2837. "description": "OK",
  2838. "schema": {
  2839. "$ref": "#/definitions/app.Response"
  2840. }
  2841. },
  2842. "500": {
  2843. "description": "Internal Server Error",
  2844. "schema": {
  2845. "$ref": "#/definitions/app.Response"
  2846. }
  2847. }
  2848. }
  2849. }
  2850. },
  2851. "/WRTrade/GetAllDeliveryGoods": {
  2852. "get": {
  2853. "security": [
  2854. {
  2855. "ApiKeyAuth": []
  2856. },
  2857. {
  2858. "ApiKeyAuth": []
  2859. }
  2860. ],
  2861. "produces": [
  2862. "application/json",
  2863. "application/json"
  2864. ],
  2865. "tags": [
  2866. "仓单贸易",
  2867. "仓单贸易"
  2868. ],
  2869. "summary": "获取带仓单分类的种类信息",
  2870. "responses": {
  2871. "200": {
  2872. "description": "OK",
  2873. "schema": {
  2874. "$ref": "#/definitions/app.Response"
  2875. }
  2876. },
  2877. "500": {
  2878. "description": "Internal Server Error",
  2879. "schema": {
  2880. "$ref": "#/definitions/app.Response"
  2881. }
  2882. }
  2883. }
  2884. }
  2885. }
  2886. },
  2887. "definitions": {
  2888. "app.Response": {
  2889. "type": "object",
  2890. "properties": {
  2891. "code": {
  2892. "type": "integer"
  2893. },
  2894. "data": {
  2895. "type": "object"
  2896. },
  2897. "msg": {
  2898. "type": "string"
  2899. },
  2900. "page": {
  2901. "description": "页码",
  2902. "type": "integer"
  2903. },
  2904. "pagesize": {
  2905. "description": "每页条数",
  2906. "type": "integer"
  2907. },
  2908. "total": {
  2909. "description": "总条数",
  2910. "type": "integer"
  2911. }
  2912. }
  2913. },
  2914. "common.QueryNoticeRsp": {
  2915. "type": "object",
  2916. "required": [
  2917. "autoid"
  2918. ],
  2919. "properties": {
  2920. "auditoruserid": {
  2921. "description": "审核人",
  2922. "type": "integer"
  2923. },
  2924. "auditremark": {
  2925. "description": "审核备注",
  2926. "type": "string"
  2927. },
  2928. "audittime": {
  2929. "description": "审核日期",
  2930. "type": "string"
  2931. },
  2932. "autoid": {
  2933. "description": "自增ID",
  2934. "type": "integer"
  2935. },
  2936. "content": {
  2937. "description": "内容",
  2938. "type": "string"
  2939. },
  2940. "createtime": {
  2941. "description": "创建时间",
  2942. "type": "string"
  2943. },
  2944. "creatorid": {
  2945. "description": "建仓人",
  2946. "type": "integer"
  2947. },
  2948. "endtime": {
  2949. "description": "结束时间",
  2950. "type": "string"
  2951. },
  2952. "istop": {
  2953. "description": "是否置顶 - 0:不置顶 1:置顶",
  2954. "type": "integer"
  2955. },
  2956. "msgiconurl": {
  2957. "description": "消息图标Url",
  2958. "type": "string"
  2959. },
  2960. "msgtype": {
  2961. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  2962. "type": "integer"
  2963. },
  2964. "publisher": {
  2965. "description": "消息发布者",
  2966. "type": "string"
  2967. },
  2968. "readed": {
  2969. "description": "是否已读",
  2970. "type": "boolean"
  2971. },
  2972. "scheduletime": {
  2973. "description": "计划发送时间",
  2974. "type": "string"
  2975. },
  2976. "sendtype": {
  2977. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  2978. "type": "integer"
  2979. },
  2980. "sentstatus": {
  2981. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  2982. "type": "integer"
  2983. },
  2984. "title": {
  2985. "description": "标题",
  2986. "type": "string"
  2987. },
  2988. "userid": {
  2989. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  2990. "type": "integer"
  2991. }
  2992. }
  2993. },
  2994. "common.QueryProvincesAndCitiesRsp": {
  2995. "type": "object",
  2996. "properties": {
  2997. "cities": {
  2998. "description": "市",
  2999. "type": "array",
  3000. "items": {
  3001. "$ref": "#/definitions/models.Division"
  3002. }
  3003. },
  3004. "province": {
  3005. "description": "省",
  3006. "type": "object",
  3007. "$ref": "#/definitions/models.Division"
  3008. }
  3009. }
  3010. },
  3011. "common.QueryTableDefineRsp": {
  3012. "type": "object",
  3013. "required": [
  3014. "tablekey"
  3015. ],
  3016. "properties": {
  3017. "columns": {
  3018. "description": "列头信息数组",
  3019. "type": "array",
  3020. "items": {
  3021. "$ref": "#/definitions/models.Tablecolumnconfig"
  3022. }
  3023. },
  3024. "remark": {
  3025. "description": "Remark",
  3026. "type": "string"
  3027. },
  3028. "tabelmenu": {
  3029. "description": "列表菜单",
  3030. "type": "string"
  3031. },
  3032. "tablekey": {
  3033. "description": "列表Key",
  3034. "type": "string"
  3035. },
  3036. "tablename": {
  3037. "description": "列表名称",
  3038. "type": "string"
  3039. },
  3040. "tabletype": {
  3041. "description": "列表类型 - 1:管理端 2:终端",
  3042. "type": "integer"
  3043. }
  3044. }
  3045. },
  3046. "common.QueryTraderMenuRsp": {
  3047. "type": "object",
  3048. "properties": {
  3049. "OperationMenu": {
  3050. "description": "功能菜单",
  3051. "type": "array",
  3052. "items": {
  3053. "$ref": "#/definitions/models.OperationPrimaryMenu"
  3054. }
  3055. },
  3056. "QuoteMenu": {
  3057. "description": "报价牌分类菜单",
  3058. "type": "array",
  3059. "items": {
  3060. "$ref": "#/definitions/models.QuotePrimaryMenu"
  3061. }
  3062. }
  3063. }
  3064. },
  3065. "cptrade.Cptradepositioncancel": {
  3066. "type": "object",
  3067. "required": [
  3068. "cancelid"
  3069. ],
  3070. "properties": {
  3071. "accountid": {
  3072. "description": "申请人账户ID",
  3073. "type": "integer"
  3074. },
  3075. "applystatus": {
  3076. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3077. "type": "integer"
  3078. },
  3079. "applytime": {
  3080. "description": "申请时间",
  3081. "type": "string"
  3082. },
  3083. "cancelid": {
  3084. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  3085. "type": "integer"
  3086. },
  3087. "cancelqty": {
  3088. "description": "注销数量",
  3089. "type": "integer"
  3090. },
  3091. "createtime": {
  3092. "description": "创建时间",
  3093. "type": "string"
  3094. },
  3095. "creatorid": {
  3096. "description": "创建人ID",
  3097. "type": "integer"
  3098. },
  3099. "creatorname": {
  3100. "description": "创建人",
  3101. "type": "string"
  3102. },
  3103. "goodscode": {
  3104. "description": "订单商品代码",
  3105. "type": "string"
  3106. },
  3107. "goodsid": {
  3108. "description": "商品ID",
  3109. "type": "integer"
  3110. },
  3111. "goodsname": {
  3112. "description": "订单商品名称",
  3113. "type": "string"
  3114. },
  3115. "goodunit": {
  3116. "description": "报价单位",
  3117. "type": "string"
  3118. },
  3119. "handlestatus": {
  3120. "description": "处理状态",
  3121. "type": "integer"
  3122. },
  3123. "marketid": {
  3124. "description": "市场ID",
  3125. "type": "integer"
  3126. },
  3127. "marketname": {
  3128. "description": "市场名称",
  3129. "type": "string"
  3130. },
  3131. "tradedate": {
  3132. "description": "交易日(yyyyMMdd)",
  3133. "type": "string"
  3134. },
  3135. "userid": {
  3136. "description": "申请人ID",
  3137. "type": "integer"
  3138. }
  3139. }
  3140. },
  3141. "cptrade.Cptradepresaleapply": {
  3142. "type": "object",
  3143. "required": [
  3144. "applyid"
  3145. ],
  3146. "properties": {
  3147. "accountid": {
  3148. "description": "申请人账户ID",
  3149. "type": "integer"
  3150. },
  3151. "applyid": {
  3152. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  3153. "type": "integer"
  3154. },
  3155. "applyremark": {
  3156. "description": "申请备注",
  3157. "type": "string"
  3158. },
  3159. "applystatus": {
  3160. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3161. "type": "integer"
  3162. },
  3163. "applytime": {
  3164. "description": "申请时间",
  3165. "type": "string"
  3166. },
  3167. "attachmenturl": {
  3168. "description": "附件地址",
  3169. "type": "string"
  3170. },
  3171. "endtime": {
  3172. "description": "预售结束时间",
  3173. "type": "string"
  3174. },
  3175. "goodscode": {
  3176. "description": "商品代码",
  3177. "type": "string"
  3178. },
  3179. "goodsid": {
  3180. "description": "商品ID",
  3181. "type": "integer"
  3182. },
  3183. "goodsname": {
  3184. "description": "商品名称",
  3185. "type": "string"
  3186. },
  3187. "goodunit": {
  3188. "description": "报价单位",
  3189. "type": "string"
  3190. },
  3191. "handlestatus": {
  3192. "description": "处理状态",
  3193. "type": "integer"
  3194. },
  3195. "marketid": {
  3196. "description": "预售市场ID",
  3197. "type": "integer"
  3198. },
  3199. "marketname": {
  3200. "description": "预售市场名称",
  3201. "type": "string"
  3202. },
  3203. "presaleqty": {
  3204. "description": "预售数量",
  3205. "type": "integer"
  3206. },
  3207. "relatedgoodscode": {
  3208. "description": "关联交易合约代码",
  3209. "type": "string"
  3210. },
  3211. "relatedgoodsid": {
  3212. "description": "关联交易合约ID",
  3213. "type": "integer"
  3214. },
  3215. "relatedgoodsname": {
  3216. "description": "关联交易合约名称",
  3217. "type": "string"
  3218. },
  3219. "starttime": {
  3220. "description": "预售开始时间",
  3221. "type": "string"
  3222. },
  3223. "tradedate": {
  3224. "description": "交易日(yyyyMMdd)",
  3225. "type": "string"
  3226. },
  3227. "trademode": {
  3228. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  3229. "type": "integer"
  3230. },
  3231. "userid": {
  3232. "description": "申请人ID",
  3233. "type": "integer"
  3234. }
  3235. }
  3236. },
  3237. "cptrade.Cptradeusergoodsdata": {
  3238. "type": "object",
  3239. "required": [
  3240. "accountid",
  3241. "goodsid"
  3242. ],
  3243. "properties": {
  3244. "EnabledQty": {
  3245. "description": "可用量",
  3246. "type": "integer"
  3247. },
  3248. "GoodsCode": {
  3249. "description": "订单商品代码",
  3250. "type": "string"
  3251. },
  3252. "GoodsName": {
  3253. "description": "订单商品名称",
  3254. "type": "string"
  3255. },
  3256. "WRStandardCode": {
  3257. "description": "仓单标准代码",
  3258. "type": "string"
  3259. },
  3260. "WRStandardName": {
  3261. "description": "仓单标准名称",
  3262. "type": "string"
  3263. },
  3264. "accountid": {
  3265. "description": "账户ID",
  3266. "type": "integer"
  3267. },
  3268. "cancelqty": {
  3269. "description": "注销量",
  3270. "type": "integer"
  3271. },
  3272. "curpresaleqty": {
  3273. "description": "当前预售量",
  3274. "type": "integer"
  3275. },
  3276. "deliveryqty": {
  3277. "description": "交割量",
  3278. "type": "integer"
  3279. },
  3280. "freezeamount": {
  3281. "description": "冻结金额",
  3282. "type": "number"
  3283. },
  3284. "goodsid": {
  3285. "description": "商品ID",
  3286. "type": "integer"
  3287. },
  3288. "goodunit": {
  3289. "description": "报价单位",
  3290. "type": "string"
  3291. },
  3292. "hasspotfreeze": {
  3293. "description": "是否有现货冻结 - 0:否 1:有",
  3294. "type": "integer"
  3295. },
  3296. "inqty": {
  3297. "description": "转入量(总数量)",
  3298. "type": "integer"
  3299. },
  3300. "marketid": {
  3301. "description": "市场ID",
  3302. "type": "integer"
  3303. },
  3304. "presaledamount": {
  3305. "description": "已预售总金额",
  3306. "type": "integer"
  3307. },
  3308. "presaledqty": {
  3309. "description": "已预售量",
  3310. "type": "integer"
  3311. },
  3312. "userid": {
  3313. "description": "用户ID",
  3314. "type": "integer"
  3315. },
  3316. "wrstandardid": {
  3317. "description": "仓单标准ID",
  3318. "type": "integer"
  3319. }
  3320. }
  3321. },
  3322. "cptrade.QueryCPTradeMyBidRsp": {
  3323. "type": "object",
  3324. "required": [
  3325. "accountid",
  3326. "goodsid",
  3327. "marketid",
  3328. "orderid",
  3329. "orderqty",
  3330. "ordertime",
  3331. "tradeprice",
  3332. "tradeqty"
  3333. ],
  3334. "properties": {
  3335. "accountid": {
  3336. "description": "账户ID[报价币种]",
  3337. "type": "integer"
  3338. },
  3339. "goodsid": {
  3340. "description": "商品ID",
  3341. "type": "integer"
  3342. },
  3343. "goodunit": {
  3344. "description": "报价单位",
  3345. "type": "string"
  3346. },
  3347. "marketid": {
  3348. "description": "市场ID",
  3349. "type": "integer"
  3350. },
  3351. "orderid": {
  3352. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  3353. "type": "integer"
  3354. },
  3355. "orderprice": {
  3356. "description": "委托价格",
  3357. "type": "number"
  3358. },
  3359. "orderqty": {
  3360. "description": "委托数量",
  3361. "type": "integer"
  3362. },
  3363. "ordertime": {
  3364. "description": "委托时间",
  3365. "type": "string"
  3366. },
  3367. "ordertotalprice": {
  3368. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  3369. "type": "number"
  3370. },
  3371. "ordertotalweight": {
  3372. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  3373. "type": "integer"
  3374. },
  3375. "totaltotalprice": {
  3376. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  3377. "type": "number"
  3378. },
  3379. "tradeprice": {
  3380. "description": "成交价格",
  3381. "type": "number"
  3382. },
  3383. "tradeqty": {
  3384. "description": "成交数量",
  3385. "type": "integer"
  3386. }
  3387. }
  3388. },
  3389. "cptrade.QueryCPTradeOrderDetailRsq": {
  3390. "type": "object",
  3391. "required": [
  3392. "accountid",
  3393. "buildtype",
  3394. "buyorsell",
  3395. "goodsid",
  3396. "marketid",
  3397. "memberuserid",
  3398. "operatetype",
  3399. "orderqty",
  3400. "ordertime",
  3401. "pricemode",
  3402. "strorderid",
  3403. "tradedate",
  3404. "validtype"
  3405. ],
  3406. "properties": {
  3407. "accountid": {
  3408. "description": "账户ID[报价币种]",
  3409. "type": "integer"
  3410. },
  3411. "buildtype": {
  3412. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  3413. "type": "integer"
  3414. },
  3415. "buyorsell": {
  3416. "description": "买卖 - 0:买 1:卖",
  3417. "type": "integer"
  3418. },
  3419. "cancelorderid": {
  3420. "description": "撤单单号(撤单时填写)",
  3421. "type": "integer"
  3422. },
  3423. "cancelqty": {
  3424. "description": "撤单数量",
  3425. "type": "integer"
  3426. },
  3427. "clientordertime": {
  3428. "description": "客户端委托时间",
  3429. "type": "string"
  3430. },
  3431. "clientticket": {
  3432. "description": "客户端流水号",
  3433. "type": "string"
  3434. },
  3435. "clienttype": {
  3436. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  3437. "type": "integer"
  3438. },
  3439. "closeexchagechargevalue": {
  3440. "description": "平仓交易所手续费设置值",
  3441. "type": "number"
  3442. },
  3443. "closefeealgorithm": {
  3444. "description": "平仓手续费收取方式 1:比率 2:固定",
  3445. "type": "integer"
  3446. },
  3447. "closefreezecharge": {
  3448. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  3449. "type": "number"
  3450. },
  3451. "closememberchargevalue": {
  3452. "description": "平仓会员手续费设置值",
  3453. "type": "number"
  3454. },
  3455. "closeqty": {
  3456. "description": "平仓数量(先建后平操作 需要记录)",
  3457. "type": "integer"
  3458. },
  3459. "closetradeqty": {
  3460. "description": "平仓成交数量(先建后平操作,需要记录)",
  3461. "type": "integer"
  3462. },
  3463. "closeunfreezecharge": {
  3464. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  3465. "type": "number"
  3466. },
  3467. "delistingtype": {
  3468. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  3469. "type": "integer"
  3470. },
  3471. "freezecharge": {
  3472. "description": "冻结手续费",
  3473. "type": "number"
  3474. },
  3475. "freezemargin": {
  3476. "description": "冻结保证金(冻结交易金额)",
  3477. "type": "number"
  3478. },
  3479. "gcaccountid": {
  3480. "description": "账户ID[合约币种]",
  3481. "type": "integer"
  3482. },
  3483. "goodsid": {
  3484. "description": "商品ID",
  3485. "type": "integer"
  3486. },
  3487. "isconfirmexercise": {
  3488. "description": "是否确认行权- 0:否 1:是",
  3489. "type": "integer"
  3490. },
  3491. "ispreexercise": {
  3492. "description": "是否预申报- 0:否 1:是",
  3493. "type": "integer"
  3494. },
  3495. "listingselecttype": {
  3496. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  3497. "type": "integer"
  3498. },
  3499. "marginalgorithm": {
  3500. "description": "保证金收取方式 1:比率 2:固定",
  3501. "type": "integer"
  3502. },
  3503. "marginvalue": {
  3504. "description": "即市保证金设置值",
  3505. "type": "number"
  3506. },
  3507. "marketid": {
  3508. "description": "市场ID",
  3509. "type": "integer"
  3510. },
  3511. "marketmaxsub": {
  3512. "description": "市价最大偏移范围",
  3513. "type": "number"
  3514. },
  3515. "memberuserid": {
  3516. "description": "所属会员UserID",
  3517. "type": "integer"
  3518. },
  3519. "openexchagechargevalue": {
  3520. "description": "建仓交易所手续费设置值",
  3521. "type": "number"
  3522. },
  3523. "openfeealgorithm": {
  3524. "description": "建仓手续费收取方式 1:比率 2:固定",
  3525. "type": "integer"
  3526. },
  3527. "openfreezecharge": {
  3528. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  3529. "type": "number"
  3530. },
  3531. "openmemberchargevalue": {
  3532. "description": "建仓会员手续费设置值",
  3533. "type": "number"
  3534. },
  3535. "openqty": {
  3536. "description": "开仓数量(先建后平操作,需要记录)",
  3537. "type": "integer"
  3538. },
  3539. "opentradeqty": {
  3540. "description": "开仓成交数量(先建后平操作,需要记录)",
  3541. "type": "integer"
  3542. },
  3543. "openunfreezecharge": {
  3544. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  3545. "type": "number"
  3546. },
  3547. "operatetype": {
  3548. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  3549. "type": "integer"
  3550. },
  3551. "operatorid": {
  3552. "description": "登录账号(LoginID)",
  3553. "type": "integer"
  3554. },
  3555. "optiontype": {
  3556. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  3557. "type": "integer"
  3558. },
  3559. "orderprice": {
  3560. "description": "委托价格",
  3561. "type": "number"
  3562. },
  3563. "orderqty": {
  3564. "description": "委托数量",
  3565. "type": "integer"
  3566. },
  3567. "ordersrc": {
  3568. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  3569. "type": "integer"
  3570. },
  3571. "orderstatus": {
  3572. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  3573. "type": "integer"
  3574. },
  3575. "ordertime": {
  3576. "description": "委托时间",
  3577. "type": "string"
  3578. },
  3579. "preexerciseprice": {
  3580. "description": "预申报价格",
  3581. "type": "number"
  3582. },
  3583. "premium": {
  3584. "description": "权利金",
  3585. "type": "number"
  3586. },
  3587. "preorderid": {
  3588. "description": "关联预埋单号(止盈止损单时填写)",
  3589. "type": "integer"
  3590. },
  3591. "pricemode": {
  3592. "description": "取价方式 - 1:市价 2: 限价",
  3593. "type": "integer"
  3594. },
  3595. "quoteid": {
  3596. "description": "报价单ID",
  3597. "type": "integer"
  3598. },
  3599. "relatedid": {
  3600. "description": "关联单号(交割单)",
  3601. "type": "integer"
  3602. },
  3603. "retcode": {
  3604. "description": "错误代码",
  3605. "type": "integer"
  3606. },
  3607. "sessionid": {
  3608. "description": "会话ID",
  3609. "type": "integer"
  3610. },
  3611. "strorderid": {
  3612. "description": "委托单号",
  3613. "type": "string"
  3614. },
  3615. "tradedate": {
  3616. "description": "交易日(yyyyMMdd)",
  3617. "type": "string"
  3618. },
  3619. "tradeproperty": {
  3620. "description": "交易属性",
  3621. "type": "integer"
  3622. },
  3623. "tradeqty": {
  3624. "description": "成交数量",
  3625. "type": "integer"
  3626. },
  3627. "unfreezecharge": {
  3628. "description": "解冻手续费",
  3629. "type": "number"
  3630. },
  3631. "unfreezemargin": {
  3632. "description": "解冻保证金",
  3633. "type": "number"
  3634. },
  3635. "updatetime": {
  3636. "description": "更新时间",
  3637. "type": "string"
  3638. },
  3639. "uuid": {
  3640. "description": "发起端唯一id",
  3641. "type": "string"
  3642. },
  3643. "validtime": {
  3644. "description": "有效期限",
  3645. "type": "string"
  3646. },
  3647. "validtype": {
  3648. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  3649. "type": "integer"
  3650. },
  3651. "volumetype": {
  3652. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  3653. "type": "integer"
  3654. }
  3655. }
  3656. },
  3657. "cptrade.QueryMyCPTradeGoodsRsp": {
  3658. "type": "object",
  3659. "required": [
  3660. "goodscode",
  3661. "goodsid",
  3662. "goodsname",
  3663. "marketid",
  3664. "relatedgoodscode",
  3665. "relatedgoodsname"
  3666. ],
  3667. "properties": {
  3668. "accountid": {
  3669. "description": "卖方账户ID",
  3670. "type": "integer"
  3671. },
  3672. "agreeunit": {
  3673. "description": "合约单位",
  3674. "type": "number"
  3675. },
  3676. "applyid": {
  3677. "description": "关联申请ID",
  3678. "type": "integer"
  3679. },
  3680. "attachmenturl": {
  3681. "description": "附件地址",
  3682. "type": "string"
  3683. },
  3684. "createtime": {
  3685. "description": "创建时间",
  3686. "type": "string"
  3687. },
  3688. "currencyid": {
  3689. "description": "报价货币ID",
  3690. "type": "integer"
  3691. },
  3692. "decimalplace": {
  3693. "description": "报价小数位",
  3694. "type": "integer"
  3695. },
  3696. "endtime": {
  3697. "description": "预售结束时间",
  3698. "type": "string"
  3699. },
  3700. "floorprice": {
  3701. "description": "底价[大宗式竞拍]",
  3702. "type": "number"
  3703. },
  3704. "goodscode": {
  3705. "description": "商品代码(预售)",
  3706. "type": "string"
  3707. },
  3708. "goodsdetail": {
  3709. "description": "详情[大宗]",
  3710. "type": "string"
  3711. },
  3712. "goodsid": {
  3713. "description": "商品ID(自增ID SEQ_GOODS)",
  3714. "type": "integer"
  3715. },
  3716. "goodsname": {
  3717. "description": "商品名称(预售)",
  3718. "type": "string"
  3719. },
  3720. "goodunit": {
  3721. "description": "报价单位",
  3722. "type": "string"
  3723. },
  3724. "goodunitid": {
  3725. "description": "报价单位ID",
  3726. "type": "integer"
  3727. },
  3728. "marketid": {
  3729. "description": "所属市场ID",
  3730. "type": "integer"
  3731. },
  3732. "marketname": {
  3733. "description": "预售市场名称",
  3734. "type": "string"
  3735. },
  3736. "presaledamount": {
  3737. "description": "已预售总金额(预售结束时更新)",
  3738. "type": "number"
  3739. },
  3740. "presaledqty": {
  3741. "description": "已预售量(预售结束时更新)",
  3742. "type": "integer"
  3743. },
  3744. "presalemode": {
  3745. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  3746. "type": "integer"
  3747. },
  3748. "presaleqty": {
  3749. "description": "预售数量",
  3750. "type": "integer"
  3751. },
  3752. "refprice": {
  3753. "description": "参考价格[一口价]",
  3754. "type": "number"
  3755. },
  3756. "relatedgoodscode": {
  3757. "description": "商品代码(订单)",
  3758. "type": "string"
  3759. },
  3760. "relatedgoodsid": {
  3761. "description": "关联交易合约ID",
  3762. "type": "integer"
  3763. },
  3764. "relatedgoodsname": {
  3765. "description": "商品名称(订单)",
  3766. "type": "string"
  3767. },
  3768. "relatedmarketid": {
  3769. "description": "关联交易合约市场ID",
  3770. "type": "integer"
  3771. },
  3772. "sellstatus": {
  3773. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  3774. "type": "integer"
  3775. },
  3776. "startprice": {
  3777. "description": "起拍价[大宗式竞拍]",
  3778. "type": "number"
  3779. },
  3780. "starttime": {
  3781. "description": "预售开始时间",
  3782. "type": "string"
  3783. },
  3784. "tradedate": {
  3785. "description": "交易日(yyyyMMdd)",
  3786. "type": "string"
  3787. },
  3788. "tradeprice": {
  3789. "description": "成交价[大宗]",
  3790. "type": "number"
  3791. },
  3792. "userid": {
  3793. "description": "卖方用户ID",
  3794. "type": "integer"
  3795. }
  3796. }
  3797. },
  3798. "cptrade.QueryPresaleGoodsExRsp": {
  3799. "type": "object",
  3800. "required": [
  3801. "goodsid"
  3802. ],
  3803. "properties": {
  3804. "attachmenturl": {
  3805. "description": "附件地址",
  3806. "type": "string"
  3807. },
  3808. "createtime": {
  3809. "description": "创建时间",
  3810. "type": "string"
  3811. },
  3812. "endtime": {
  3813. "description": "预售结束时间",
  3814. "type": "string"
  3815. },
  3816. "floorprice": {
  3817. "description": "底价[大宗式竞拍]",
  3818. "type": "number"
  3819. },
  3820. "goodsdetail": {
  3821. "description": "详情[大宗]",
  3822. "type": "string"
  3823. },
  3824. "goodsid": {
  3825. "description": "商品ID(预售)",
  3826. "type": "integer"
  3827. },
  3828. "goodunit": {
  3829. "description": "报价单位",
  3830. "type": "string"
  3831. },
  3832. "marketid": {
  3833. "description": "预售市场ID - 根据预售模式选择市场",
  3834. "type": "integer"
  3835. },
  3836. "presaledamount": {
  3837. "description": "已预售总金额(预售结束时更新)",
  3838. "type": "number"
  3839. },
  3840. "presaledqty": {
  3841. "description": "已预售量(预售结束时更新)",
  3842. "type": "integer"
  3843. },
  3844. "presalemode": {
  3845. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  3846. "type": "integer"
  3847. },
  3848. "presaleqty": {
  3849. "description": "预售数量",
  3850. "type": "integer"
  3851. },
  3852. "refprice": {
  3853. "description": "参考价格[一口价]",
  3854. "type": "number"
  3855. },
  3856. "relatedgoodsid": {
  3857. "description": "关联交易合约ID",
  3858. "type": "integer"
  3859. },
  3860. "relatedmarketid": {
  3861. "description": "关联交易合约市场ID",
  3862. "type": "integer"
  3863. },
  3864. "sellstatus": {
  3865. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  3866. "type": "integer"
  3867. },
  3868. "startprice": {
  3869. "description": "起拍价[大宗式竞拍]",
  3870. "type": "number"
  3871. },
  3872. "starttime": {
  3873. "description": "预售开始时间",
  3874. "type": "string"
  3875. },
  3876. "tradedate": {
  3877. "description": "交易日(yyyyMMdd)",
  3878. "type": "string"
  3879. },
  3880. "tradeprice": {
  3881. "description": "成交价[大宗]",
  3882. "type": "number"
  3883. }
  3884. }
  3885. },
  3886. "delivery.QueryDeliveryRelationRsp": {
  3887. "type": "object",
  3888. "required": [
  3889. "begindate",
  3890. "enddate",
  3891. "goodsid",
  3892. "mindeliveryqty",
  3893. "xdeliveryratio"
  3894. ],
  3895. "properties": {
  3896. "begindate": {
  3897. "description": "起始日期(yyyyMMdd)",
  3898. "type": "string"
  3899. },
  3900. "buytemplateid": {
  3901. "description": "买履约计划模板ID",
  3902. "type": "integer"
  3903. },
  3904. "deliverygoodscode": {
  3905. "description": "品种代码",
  3906. "type": "string"
  3907. },
  3908. "deliverygoodsid": {
  3909. "description": "交割商品",
  3910. "type": "integer"
  3911. },
  3912. "deliverygoodsname": {
  3913. "description": "品种名称",
  3914. "type": "string"
  3915. },
  3916. "deliverymode": {
  3917. "description": "交割方式 - 1:点选式 2:申报式",
  3918. "type": "integer"
  3919. },
  3920. "deliverypricerule": {
  3921. "description": "交割价规则- 1:行情价 2:建仓价",
  3922. "type": "integer"
  3923. },
  3924. "deliverytype": {
  3925. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  3926. "type": "integer"
  3927. },
  3928. "enddate": {
  3929. "description": "结束日期(yyyyMMdd)",
  3930. "type": "string"
  3931. },
  3932. "goodscode": {
  3933. "description": "商品代码",
  3934. "type": "string"
  3935. },
  3936. "goodsid": {
  3937. "description": "交易合约ID",
  3938. "type": "integer"
  3939. },
  3940. "goodsname": {
  3941. "description": "商品名称",
  3942. "type": "string"
  3943. },
  3944. "marketid": {
  3945. "description": "市场ID",
  3946. "type": "integer"
  3947. },
  3948. "mindeliveryqty": {
  3949. "description": "最小交割系数(K)",
  3950. "type": "integer"
  3951. },
  3952. "p2deliveryprice": {
  3953. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  3954. "type": "number"
  3955. },
  3956. "p2deliveryratio": {
  3957. "description": "P2合约系数(p)",
  3958. "type": "integer"
  3959. },
  3960. "p2goodsid": {
  3961. "description": "P2合约ID",
  3962. "type": "integer"
  3963. },
  3964. "p2pricemode": {
  3965. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  3966. "type": "integer"
  3967. },
  3968. "pdeliveryprice": {
  3969. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  3970. "type": "number"
  3971. },
  3972. "pdeliveryratio": {
  3973. "description": "P合约系数(n)",
  3974. "type": "integer"
  3975. },
  3976. "pgoodsid": {
  3977. "description": "P合约ID",
  3978. "type": "integer"
  3979. },
  3980. "ppricemode": {
  3981. "description": "P合约价格方式 - 1:商品价 2:固定值",
  3982. "type": "integer"
  3983. },
  3984. "rratio": {
  3985. "description": "兑换系数(R)",
  3986. "type": "integer"
  3987. },
  3988. "rratio1": {
  3989. "description": "兑换系数(交易合约)(R1)",
  3990. "type": "integer"
  3991. },
  3992. "rratio2": {
  3993. "description": "兑换系数(仓单标准)(R2)",
  3994. "type": "integer"
  3995. },
  3996. "selltemplateid": {
  3997. "description": "卖履约计划模板ID",
  3998. "type": "integer"
  3999. },
  4000. "wrstandardid": {
  4001. "description": "仓单标准ID",
  4002. "type": "integer"
  4003. },
  4004. "xdeliveryratio": {
  4005. "description": "交易合约系数(m)",
  4006. "type": "integer"
  4007. }
  4008. }
  4009. },
  4010. "erms2.QueryArbitrageStrategyRsp": {
  4011. "type": "object",
  4012. "required": [
  4013. "asapplyid"
  4014. ],
  4015. "properties": {
  4016. "applybasis": {
  4017. "description": "申请基差",
  4018. "type": "number"
  4019. },
  4020. "asapplyid": {
  4021. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  4022. "type": "string"
  4023. },
  4024. "asname": {
  4025. "description": "策略名称",
  4026. "type": "string"
  4027. },
  4028. "asno": {
  4029. "description": "策略编号",
  4030. "type": "string"
  4031. },
  4032. "basischangepl": {
  4033. "description": "基差变动损益[结算更新]",
  4034. "type": "number"
  4035. },
  4036. "biztype": {
  4037. "description": "业务类型 - 1:正向套利 -1:反向套利",
  4038. "type": "integer"
  4039. },
  4040. "closetradedate": {
  4041. "description": "完结交易日(yyyyMMdd)",
  4042. "type": "string"
  4043. },
  4044. "curbasis": {
  4045. "description": "当前基差[结算更新]",
  4046. "type": "number"
  4047. },
  4048. "deliverygoodsid": {
  4049. "description": "现货品种ID",
  4050. "type": "integer"
  4051. },
  4052. "futureavgprice": {
  4053. "description": "期货建仓均价",
  4054. "type": "number"
  4055. },
  4056. "futurecloseamount": {
  4057. "description": "期货平仓金额",
  4058. "type": "number"
  4059. },
  4060. "futurecloseqty": {
  4061. "description": "期货平仓数量",
  4062. "type": "number"
  4063. },
  4064. "futureopenamount": {
  4065. "description": "期货开仓金额",
  4066. "type": "number"
  4067. },
  4068. "futureopenqty": {
  4069. "description": "期货开仓数量",
  4070. "type": "number"
  4071. },
  4072. "futurepl": {
  4073. "description": "期货总盈亏[结算更新]",
  4074. "type": "number"
  4075. },
  4076. "futureqty": {
  4077. "description": "期货持仓数量",
  4078. "type": "number"
  4079. },
  4080. "futurequote": {
  4081. "description": "期货额度",
  4082. "type": "number"
  4083. },
  4084. "goodsgroupid": {
  4085. "description": "期货品种ID",
  4086. "type": "integer"
  4087. },
  4088. "marketid": {
  4089. "description": "市场ID",
  4090. "type": "integer"
  4091. },
  4092. "netexposure": {
  4093. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  4094. "type": "number"
  4095. },
  4096. "netexposurepl": {
  4097. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  4098. "type": "number"
  4099. },
  4100. "netexposurerate": {
  4101. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  4102. "type": "number"
  4103. },
  4104. "openbasis": {
  4105. "description": "建仓基差",
  4106. "type": "number"
  4107. },
  4108. "pricedspotqty": {
  4109. "description": "已定价现货数量",
  4110. "type": "number"
  4111. },
  4112. "pricedspotqtynotax": {
  4113. "description": "已定价现货不含税数量",
  4114. "type": "number"
  4115. },
  4116. "remark": {
  4117. "description": "备注",
  4118. "type": "string"
  4119. },
  4120. "spotavgprice": {
  4121. "description": "现货均价",
  4122. "type": "number"
  4123. },
  4124. "spotbuyamount": {
  4125. "description": "现货采购金额",
  4126. "type": "number"
  4127. },
  4128. "spotbuyqty": {
  4129. "description": "现货采购数量",
  4130. "type": "number"
  4131. },
  4132. "spotpl": {
  4133. "description": "现货总盈亏[结算更新]",
  4134. "type": "number"
  4135. },
  4136. "spotquota": {
  4137. "description": "现货额度",
  4138. "type": "number"
  4139. },
  4140. "spotsellamount": {
  4141. "description": "现货销售金额",
  4142. "type": "number"
  4143. },
  4144. "spotsellqty": {
  4145. "description": "现货销售数量",
  4146. "type": "number"
  4147. },
  4148. "spotusedquota": {
  4149. "description": "现货占用资金",
  4150. "type": "number"
  4151. },
  4152. "strategystatus": {
  4153. "description": "策略状态 - 0:未结束 1:已结束",
  4154. "type": "integer"
  4155. },
  4156. "totalpl": {
  4157. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  4158. "type": "number"
  4159. },
  4160. "tradedate": {
  4161. "description": "交易日(yyyyMMdd)",
  4162. "type": "string"
  4163. },
  4164. "updatetime": {
  4165. "description": "更新时间",
  4166. "type": "string"
  4167. },
  4168. "usedquota": {
  4169. "description": "已占用资金",
  4170. "type": "number"
  4171. },
  4172. "userid": {
  4173. "description": "所属机构",
  4174. "type": "integer"
  4175. }
  4176. }
  4177. },
  4178. "erms2.QueryInnerTradeDetailRsp": {
  4179. "type": "object",
  4180. "required": [
  4181. "asapplyid",
  4182. "buyorsell",
  4183. "goodscode",
  4184. "goodsgroupid",
  4185. "goodsgroupname",
  4186. "goodsname",
  4187. "tradeid"
  4188. ],
  4189. "properties": {
  4190. "accountid": {
  4191. "description": "账号ID",
  4192. "type": "integer"
  4193. },
  4194. "agreeunit": {
  4195. "description": "合约单位",
  4196. "type": "number"
  4197. },
  4198. "asapplyid": {
  4199. "description": "策略申请ID",
  4200. "type": "integer"
  4201. },
  4202. "asname": {
  4203. "description": "策略名称",
  4204. "type": "string"
  4205. },
  4206. "asno": {
  4207. "description": "策略编号",
  4208. "type": "string"
  4209. },
  4210. "buyorsell": {
  4211. "description": "方向 - 0:买 1:卖",
  4212. "type": "integer"
  4213. },
  4214. "channelbuildtype": {
  4215. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  4216. "type": "integer"
  4217. },
  4218. "closetype": {
  4219. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  4220. "type": "integer"
  4221. },
  4222. "decimalplace": {
  4223. "description": "报价小数位",
  4224. "type": "integer"
  4225. },
  4226. "detailtype": {
  4227. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  4228. "type": "integer"
  4229. },
  4230. "exexchangecode": {
  4231. "description": "外部交易所代码",
  4232. "type": "string"
  4233. },
  4234. "exexchangename": {
  4235. "description": "外部交易所名称",
  4236. "type": "string"
  4237. },
  4238. "goodscode": {
  4239. "description": "商品代码(合约)",
  4240. "type": "string"
  4241. },
  4242. "goodsgroupid": {
  4243. "description": "商品组ID(品种ID)",
  4244. "type": "integer"
  4245. },
  4246. "goodsgroupname": {
  4247. "description": "商品组名称(品种)",
  4248. "type": "string"
  4249. },
  4250. "goodsid": {
  4251. "description": "商品ID",
  4252. "type": "integer"
  4253. },
  4254. "goodsname": {
  4255. "description": "商品名称(合约)",
  4256. "type": "string"
  4257. },
  4258. "goodunit": {
  4259. "description": "报价单位",
  4260. "type": "string"
  4261. },
  4262. "marketid": {
  4263. "description": "市场ID",
  4264. "type": "integer"
  4265. },
  4266. "orderid": {
  4267. "description": "委托单号",
  4268. "type": "string"
  4269. },
  4270. "outgoodscode": {
  4271. "description": "商品代码(外部)",
  4272. "type": "string"
  4273. },
  4274. "relatedouttradeid": {
  4275. "description": "关联外部成交单ID",
  4276. "type": "string"
  4277. },
  4278. "remark": {
  4279. "description": "备注",
  4280. "type": "string"
  4281. },
  4282. "spotcontractid": {
  4283. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  4284. "type": "integer"
  4285. },
  4286. "spotcontractno": {
  4287. "description": "现货合同编号",
  4288. "type": "string"
  4289. },
  4290. "tradeid": {
  4291. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4292. "type": "string"
  4293. },
  4294. "tradeprice": {
  4295. "description": "成交价格",
  4296. "type": "number"
  4297. },
  4298. "tradeqty": {
  4299. "description": "成交数量",
  4300. "type": "integer"
  4301. },
  4302. "tradetime": {
  4303. "description": "成交时间",
  4304. "type": "string"
  4305. },
  4306. "updatetime": {
  4307. "description": "更新时间",
  4308. "type": "string"
  4309. }
  4310. }
  4311. },
  4312. "erms2.QuerySpotContractRsp": {
  4313. "type": "object",
  4314. "required": [
  4315. "spotcontractid"
  4316. ],
  4317. "properties": {
  4318. "accountid": {
  4319. "description": "资金账户ID",
  4320. "type": "integer"
  4321. },
  4322. "areauserid": {
  4323. "description": "所属机构",
  4324. "type": "integer"
  4325. },
  4326. "closedate": {
  4327. "description": "终止日期",
  4328. "type": "string"
  4329. },
  4330. "closeremark": {
  4331. "description": "结束备注",
  4332. "type": "string"
  4333. },
  4334. "closetradedate": {
  4335. "description": "完结交易日(yyyyMMdd)",
  4336. "type": "string"
  4337. },
  4338. "closetype": {
  4339. "description": "终止类型 - 1:违约 2:提前终止",
  4340. "type": "integer"
  4341. },
  4342. "contractamount": {
  4343. "description": "合同金额",
  4344. "type": "number"
  4345. },
  4346. "contractattachment": {
  4347. "description": "合同附件",
  4348. "type": "string"
  4349. },
  4350. "contractno": {
  4351. "description": "现货合同编号",
  4352. "type": "string"
  4353. },
  4354. "contractqty": {
  4355. "description": "合同数量(数值) (用于计算)",
  4356. "type": "number"
  4357. },
  4358. "contractqtychar": {
  4359. "description": "合同数量\\已订价数量 (用于显示)",
  4360. "type": "string"
  4361. },
  4362. "contractstatus": {
  4363. "description": "合同状态 - 0:未结束 1:已结束",
  4364. "type": "integer"
  4365. },
  4366. "contracttype": {
  4367. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  4368. "type": "integer"
  4369. },
  4370. "customeraccountid": {
  4371. "description": "客户资金账户ID",
  4372. "type": "integer"
  4373. },
  4374. "customeruserid": {
  4375. "description": "客户ID",
  4376. "type": "integer"
  4377. },
  4378. "deliverygoodsdesc": {
  4379. "description": "品种说明",
  4380. "type": "string"
  4381. },
  4382. "deliverygoodsid": {
  4383. "description": "现货品种ID",
  4384. "type": "integer"
  4385. },
  4386. "handlestatus": {
  4387. "description": "处理状态",
  4388. "type": "integer"
  4389. },
  4390. "invoiceatt": {
  4391. "description": "发票附件",
  4392. "type": "string"
  4393. },
  4394. "invoicedatetime": {
  4395. "description": "开收票更新时间",
  4396. "type": "string"
  4397. },
  4398. "invoiceopentime": {
  4399. "description": "开票时间",
  4400. "type": "string"
  4401. },
  4402. "invoiceremark": {
  4403. "description": "发票备注",
  4404. "type": "string"
  4405. },
  4406. "invoicestatus": {
  4407. "description": "开收票状态 - 0:未开票 1:已开票",
  4408. "type": "integer"
  4409. },
  4410. "lastdate": {
  4411. "description": "交货时间",
  4412. "type": "string"
  4413. },
  4414. "marketid": {
  4415. "description": "市场ID",
  4416. "type": "integer"
  4417. },
  4418. "paydatetime": {
  4419. "description": "收付款更新时间",
  4420. "type": "string"
  4421. },
  4422. "payremark": {
  4423. "description": "收付款备注",
  4424. "type": "string"
  4425. },
  4426. "paystatus": {
  4427. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  4428. "type": "integer"
  4429. },
  4430. "positionqty": {
  4431. "description": "头寸数量 - 合同数量去小数部分",
  4432. "type": "integer"
  4433. },
  4434. "producttype": {
  4435. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  4436. "type": "integer"
  4437. },
  4438. "relatedqty": {
  4439. "description": "已关联数量",
  4440. "type": "number"
  4441. },
  4442. "relatedstatus": {
  4443. "description": "关联完结状态 - 0:未结束 1:已结束",
  4444. "type": "integer"
  4445. },
  4446. "remark": {
  4447. "description": "备注",
  4448. "type": "string"
  4449. },
  4450. "signdate": {
  4451. "description": "签订日期",
  4452. "type": "string"
  4453. },
  4454. "spotcontractid": {
  4455. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  4456. "type": "string"
  4457. },
  4458. "spotdatetime": {
  4459. "description": "收发货更新时间",
  4460. "type": "string"
  4461. },
  4462. "spotprice": {
  4463. "description": "价格",
  4464. "type": "number"
  4465. },
  4466. "spotremark": {
  4467. "description": "收发货备注",
  4468. "type": "string"
  4469. },
  4470. "spotstatus": {
  4471. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  4472. "type": "integer"
  4473. },
  4474. "tradedate": {
  4475. "description": "交易日(yyyyMMdd)",
  4476. "type": "string"
  4477. },
  4478. "userid": {
  4479. "description": "业务员用户ID",
  4480. "type": "integer"
  4481. },
  4482. "warehouseid": {
  4483. "description": "仓库ID",
  4484. "type": "integer"
  4485. },
  4486. "wrfactortypeid": {
  4487. "description": "仓单要素类型ID",
  4488. "type": "integer"
  4489. },
  4490. "wrstandardid": {
  4491. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  4492. "type": "integer"
  4493. }
  4494. }
  4495. },
  4496. "erms3.AddSpotContractApplyReq": {
  4497. "type": "object",
  4498. "required": [
  4499. "accountid",
  4500. "areauserid",
  4501. "contractno",
  4502. "contracttype",
  4503. "customeraccountid",
  4504. "customeruserid",
  4505. "details",
  4506. "orimargin",
  4507. "orimarginpayer",
  4508. "signdate"
  4509. ],
  4510. "properties": {
  4511. "accountid": {
  4512. "description": "资金账户ID",
  4513. "type": "integer"
  4514. },
  4515. "areauserid": {
  4516. "description": "所属机构",
  4517. "type": "integer"
  4518. },
  4519. "contractattachment": {
  4520. "description": "合同附件",
  4521. "type": "string"
  4522. },
  4523. "contractno": {
  4524. "description": "现货合同编号",
  4525. "type": "string"
  4526. },
  4527. "contracttype": {
  4528. "description": "现货合同类型 - 1:采购 -1:销售",
  4529. "type": "integer"
  4530. },
  4531. "creatorid": {
  4532. "description": "申请人",
  4533. "type": "integer"
  4534. },
  4535. "customeraccountid": {
  4536. "description": "客户资金账户ID",
  4537. "type": "integer"
  4538. },
  4539. "customeruserid": {
  4540. "description": "客户ID",
  4541. "type": "integer"
  4542. },
  4543. "details": {
  4544. "description": "明细",
  4545. "type": "array",
  4546. "items": {
  4547. "$ref": "#/definitions/erms3.SoptContractDetail"
  4548. }
  4549. },
  4550. "lastdate": {
  4551. "description": "交货时间",
  4552. "type": "string"
  4553. },
  4554. "orimargin": {
  4555. "description": "初始保证金",
  4556. "type": "number"
  4557. },
  4558. "orimarginpayer": {
  4559. "description": "初始保证金支付方 -1:买方 2:卖方",
  4560. "type": "integer"
  4561. },
  4562. "remark": {
  4563. "description": "备注",
  4564. "type": "string"
  4565. },
  4566. "signdate": {
  4567. "description": "签订日期",
  4568. "type": "string"
  4569. }
  4570. }
  4571. },
  4572. "erms3.AddSpotContractApplyRsp": {
  4573. "type": "object",
  4574. "required": [
  4575. "contractno"
  4576. ],
  4577. "properties": {
  4578. "contractno": {
  4579. "description": "现货合同编号",
  4580. "type": "string"
  4581. },
  4582. "spotcontractid": {
  4583. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  4584. "type": "integer"
  4585. }
  4586. }
  4587. },
  4588. "erms3.CustomerInfo": {
  4589. "type": "object",
  4590. "required": [
  4591. "userid"
  4592. ],
  4593. "properties": {
  4594. "accountids": {
  4595. "description": "资金账户ID列表",
  4596. "type": "array",
  4597. "items": {
  4598. "type": "integer"
  4599. }
  4600. },
  4601. "customername": {
  4602. "description": "名称(企业名称)",
  4603. "type": "string"
  4604. },
  4605. "mobile": {
  4606. "description": "手机号码",
  4607. "type": "string"
  4608. },
  4609. "userid": {
  4610. "description": "用户ID",
  4611. "type": "integer"
  4612. }
  4613. }
  4614. },
  4615. "erms3.QuerySpotContractAppleFormRsp": {
  4616. "type": "object",
  4617. "properties": {
  4618. "goodses": {
  4619. "description": "合约列表",
  4620. "type": "array",
  4621. "items": {
  4622. "$ref": "#/definitions/models.GoodsIDAndName"
  4623. }
  4624. },
  4625. "oppositeusers": {
  4626. "description": "对方账号列表",
  4627. "type": "array",
  4628. "items": {
  4629. "$ref": "#/definitions/erms3.CustomerInfo"
  4630. }
  4631. },
  4632. "ouruser": {
  4633. "description": "我方账号",
  4634. "type": "object",
  4635. "$ref": "#/definitions/erms3.CustomerInfo"
  4636. },
  4637. "warehouseinfos": {
  4638. "description": "仓库信息列表",
  4639. "type": "array",
  4640. "items": {
  4641. "$ref": "#/definitions/models.Warehouseinfo"
  4642. }
  4643. },
  4644. "wrstandards": {
  4645. "description": "仓单标准列表",
  4646. "type": "array",
  4647. "items": {
  4648. "$ref": "#/definitions/models.WRStandardInfo"
  4649. }
  4650. }
  4651. }
  4652. },
  4653. "erms3.QuerySpotContractInfoRsp": {
  4654. "type": "object",
  4655. "properties": {
  4656. "accountid": {
  4657. "description": "表示交易员ID.",
  4658. "type": "integer"
  4659. },
  4660. "curdeliveryqty": {
  4661. "description": "表示未交收量.",
  4662. "type": "number"
  4663. },
  4664. "customername": {
  4665. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  4666. "type": "string"
  4667. },
  4668. "deliverygoodsid": {
  4669. "description": "表示品种ID.",
  4670. "type": "string"
  4671. },
  4672. "deliveryqty": {
  4673. "description": "表示交收量.",
  4674. "type": "number"
  4675. },
  4676. "matchaccountid": {
  4677. "description": "表示业务员ID.",
  4678. "type": "integer"
  4679. },
  4680. "matchcustomername": {
  4681. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  4682. "type": "string"
  4683. },
  4684. "priceqty": {
  4685. "description": "表示定价量.",
  4686. "type": "number"
  4687. },
  4688. "relatedbizid": {
  4689. "description": "表示业务ID.",
  4690. "type": "string"
  4691. },
  4692. "signdate": {
  4693. "description": "表示签订日期.",
  4694. "type": "string"
  4695. },
  4696. "spotcontractid": {
  4697. "description": "合同ID",
  4698. "type": "string"
  4699. },
  4700. "status": {
  4701. "description": "表示状态,0-履约中 1-已完成.",
  4702. "type": "integer"
  4703. },
  4704. "totalqty": {
  4705. "description": "表示合同量.",
  4706. "type": "number"
  4707. },
  4708. "unpricedqty": {
  4709. "description": "表示未定价量.",
  4710. "type": "number"
  4711. },
  4712. "wrstandardname": {
  4713. "description": "表示商品ID.",
  4714. "type": "string"
  4715. }
  4716. }
  4717. },
  4718. "erms3.SoptContractDetail": {
  4719. "type": "object",
  4720. "required": [
  4721. "deliverygoodsid",
  4722. "producttype",
  4723. "unitname",
  4724. "warehouseid",
  4725. "wrstandardid",
  4726. "wrstandardname"
  4727. ],
  4728. "properties": {
  4729. "deliverygoodsdesc": {
  4730. "description": "现货品种说明",
  4731. "type": "string"
  4732. },
  4733. "deliverygoodsid": {
  4734. "description": "现货品种ID",
  4735. "type": "integer"
  4736. },
  4737. "deliverygoodsname": {
  4738. "description": "现货品种名称",
  4739. "type": "string"
  4740. },
  4741. "pointdesc": {
  4742. "description": "点价描述",
  4743. "type": "string"
  4744. },
  4745. "producttype": {
  4746. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  4747. "type": "integer"
  4748. },
  4749. "producttypename": {
  4750. "description": "产品类型名称",
  4751. "type": "string"
  4752. },
  4753. "spotPointOrderVoList": {
  4754. "description": "点价列表",
  4755. "type": "array",
  4756. "items": {
  4757. "$ref": "#/definitions/erms3.SpotPointOrder"
  4758. }
  4759. },
  4760. "spotPriceOrderList": {
  4761. "description": "定价列表",
  4762. "type": "array",
  4763. "items": {
  4764. "$ref": "#/definitions/erms3.SpotPriceOrder"
  4765. }
  4766. },
  4767. "unitname": {
  4768. "description": "单位名称",
  4769. "type": "string"
  4770. },
  4771. "warehouseid": {
  4772. "description": "仓库ID",
  4773. "type": "integer"
  4774. },
  4775. "warehousename": {
  4776. "description": "仓库名称",
  4777. "type": "string"
  4778. },
  4779. "wrstandardid": {
  4780. "description": "交易标的ID",
  4781. "type": "integer"
  4782. },
  4783. "wrstandardname": {
  4784. "description": "交易标的名称",
  4785. "type": "string"
  4786. }
  4787. }
  4788. },
  4789. "erms3.SpotPointOrder": {
  4790. "type": "object",
  4791. "required": [
  4792. "basic",
  4793. "goodsid",
  4794. "qty"
  4795. ],
  4796. "properties": {
  4797. "basic": {
  4798. "description": "基差",
  4799. "type": "number"
  4800. },
  4801. "deliveryendtdate": {
  4802. "description": "交收结束日期",
  4803. "type": "string"
  4804. },
  4805. "deliverystartdate": {
  4806. "description": "交收开始日期",
  4807. "type": "string"
  4808. },
  4809. "enddate": {
  4810. "description": "点价结束日期",
  4811. "type": "string"
  4812. },
  4813. "goodsid": {
  4814. "description": "商品ID",
  4815. "type": "integer"
  4816. },
  4817. "goodsname": {
  4818. "description": "商品名称",
  4819. "type": "string"
  4820. },
  4821. "qty": {
  4822. "description": "数量",
  4823. "type": "number"
  4824. },
  4825. "startdate": {
  4826. "description": "点价开始日期",
  4827. "type": "string"
  4828. }
  4829. }
  4830. },
  4831. "erms3.SpotPriceOrder": {
  4832. "type": "object",
  4833. "required": [
  4834. "amount",
  4835. "price",
  4836. "qty"
  4837. ],
  4838. "properties": {
  4839. "amount": {
  4840. "description": "金额",
  4841. "type": "number"
  4842. },
  4843. "deliveryendtdate": {
  4844. "description": "交收结束日期",
  4845. "type": "string"
  4846. },
  4847. "deliverystartdate": {
  4848. "description": "交收开始日期",
  4849. "type": "string"
  4850. },
  4851. "price": {
  4852. "description": "价格",
  4853. "type": "number"
  4854. },
  4855. "qty": {
  4856. "description": "数量",
  4857. "type": "number"
  4858. }
  4859. }
  4860. },
  4861. "hsby.GetHsbyMyCountRsp": {
  4862. "type": "object",
  4863. "properties": {
  4864. "myOrderDetailListingCount": {
  4865. "description": "我的订单求购中数量",
  4866. "type": "integer"
  4867. },
  4868. "myOrderDetailPreCount": {
  4869. "description": "我的订单抢购中数量",
  4870. "type": "integer"
  4871. },
  4872. "myPackageUnReceiveCount": {
  4873. "description": "我的包裹待收货数量",
  4874. "type": "integer"
  4875. },
  4876. "myPackageUnSendCount": {
  4877. "description": "我的包裹待发货数量",
  4878. "type": "integer"
  4879. }
  4880. }
  4881. },
  4882. "hsby.QueryProvincesAndCitiesRsp": {
  4883. "type": "object",
  4884. "properties": {
  4885. "cities": {
  4886. "description": "市",
  4887. "type": "array",
  4888. "items": {
  4889. "$ref": "#/definitions/models.Division"
  4890. }
  4891. },
  4892. "province": {
  4893. "description": "省",
  4894. "type": "object",
  4895. "$ref": "#/definitions/models.Division"
  4896. }
  4897. }
  4898. },
  4899. "models.Division": {
  4900. "type": "object",
  4901. "required": [
  4902. "autoid",
  4903. "divisioncode"
  4904. ],
  4905. "properties": {
  4906. "autoid": {
  4907. "description": "自增ID",
  4908. "type": "integer"
  4909. },
  4910. "divisioncode": {
  4911. "description": "行政代码",
  4912. "type": "string"
  4913. },
  4914. "divisionlevel": {
  4915. "description": "行政级别",
  4916. "type": "string"
  4917. },
  4918. "divisionname": {
  4919. "description": "行政名称",
  4920. "type": "string"
  4921. },
  4922. "modifierid": {
  4923. "description": "修改人",
  4924. "type": "integer"
  4925. },
  4926. "modifytime": {
  4927. "description": "修改时间",
  4928. "type": "string"
  4929. },
  4930. "parentcode": {
  4931. "description": "上级行政代码",
  4932. "type": "string"
  4933. },
  4934. "pathname": {
  4935. "description": "路径名称",
  4936. "type": "string"
  4937. },
  4938. "postcode": {
  4939. "description": "邮政编码",
  4940. "type": "string"
  4941. },
  4942. "separablename": {
  4943. "description": "可拆分的全称",
  4944. "type": "string"
  4945. },
  4946. "shortcode": {
  4947. "description": "地区简码",
  4948. "type": "string"
  4949. }
  4950. }
  4951. },
  4952. "models.GoodsIDAndName": {
  4953. "type": "object",
  4954. "required": [
  4955. "goodscode",
  4956. "goodsid",
  4957. "goodsname",
  4958. "marketid"
  4959. ],
  4960. "properties": {
  4961. "goodscode": {
  4962. "description": "商品代码(内部)",
  4963. "type": "string"
  4964. },
  4965. "goodsid": {
  4966. "description": "商品ID(自增ID SEQ_GOODS)",
  4967. "type": "integer"
  4968. },
  4969. "goodsname": {
  4970. "description": "商品名称",
  4971. "type": "string"
  4972. },
  4973. "marketid": {
  4974. "description": "所属市场ID",
  4975. "type": "integer"
  4976. }
  4977. }
  4978. },
  4979. "models.HsbyBuyMyTradeDetail": {
  4980. "type": "object",
  4981. "required": [
  4982. "accountid",
  4983. "buyorsell",
  4984. "goodscode",
  4985. "goodsid",
  4986. "goodsname",
  4987. "marketid",
  4988. "orderid",
  4989. "qty",
  4990. "time",
  4991. "trademode"
  4992. ],
  4993. "properties": {
  4994. "accountid": {
  4995. "description": "账户ID[报价币种]",
  4996. "type": "integer"
  4997. },
  4998. "agreeunit": {
  4999. "description": "合约单位",
  5000. "type": "number"
  5001. },
  5002. "amount": {
  5003. "description": "金额 = 价格 * 数量 * 合约单位",
  5004. "type": "number"
  5005. },
  5006. "buyorsell": {
  5007. "description": "买卖 - 0:买 1:卖",
  5008. "type": "integer"
  5009. },
  5010. "currencysign": {
  5011. "description": "货币符号",
  5012. "type": "string"
  5013. },
  5014. "decimalplace": {
  5015. "description": "报价小数位",
  5016. "type": "integer"
  5017. },
  5018. "goodscode": {
  5019. "description": "商品代码(内部)",
  5020. "type": "string"
  5021. },
  5022. "goodsid": {
  5023. "description": "商品ID",
  5024. "type": "integer"
  5025. },
  5026. "goodsname": {
  5027. "description": "商品名称",
  5028. "type": "string"
  5029. },
  5030. "marketid": {
  5031. "description": "市场ID",
  5032. "type": "integer"
  5033. },
  5034. "orderid": {
  5035. "description": "单号(成交单号)",
  5036. "type": "string"
  5037. },
  5038. "picurls1": {
  5039. "description": "预售商品介绍图片[多张用逗号分隔]",
  5040. "type": "string"
  5041. },
  5042. "picurls2": {
  5043. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  5044. "type": "string"
  5045. },
  5046. "price": {
  5047. "description": "价格",
  5048. "type": "number"
  5049. },
  5050. "qty": {
  5051. "description": "数量",
  5052. "type": "integer"
  5053. },
  5054. "time": {
  5055. "description": "时间",
  5056. "type": "string"
  5057. },
  5058. "trademode": {
  5059. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5060. "type": "integer"
  5061. },
  5062. "vendorname1": {
  5063. "description": "预售商品供应商名称",
  5064. "type": "string"
  5065. },
  5066. "vendorname2": {
  5067. "description": "挂牌商品供应商名称",
  5068. "type": "string"
  5069. }
  5070. }
  5071. },
  5072. "models.HsbyGoodsOrderDetail": {
  5073. "type": "object",
  5074. "required": [
  5075. "buyorsell",
  5076. "orderid",
  5077. "ordertime"
  5078. ],
  5079. "properties": {
  5080. "buyorsell": {
  5081. "description": "买卖 - 0:买 1:卖",
  5082. "type": "integer"
  5083. },
  5084. "currencysign": {
  5085. "description": "货币符号",
  5086. "type": "string"
  5087. },
  5088. "customername": {
  5089. "description": "客户名称(企业名称),已脱敏",
  5090. "type": "string"
  5091. },
  5092. "enableqty": {
  5093. "description": "可用数量",
  5094. "type": "integer"
  5095. },
  5096. "goodunit": {
  5097. "description": "报价单位",
  5098. "type": "string"
  5099. },
  5100. "orderid": {
  5101. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5102. "type": "string"
  5103. },
  5104. "orderprice": {
  5105. "description": "委托价格",
  5106. "type": "number"
  5107. },
  5108. "ordertime": {
  5109. "description": "委托时间",
  5110. "type": "string"
  5111. }
  5112. }
  5113. },
  5114. "models.HsbyListingGoodsDetail": {
  5115. "type": "object",
  5116. "required": [
  5117. "goodscode",
  5118. "goodsid",
  5119. "goodsname",
  5120. "marketid",
  5121. "trademode"
  5122. ],
  5123. "properties": {
  5124. "agreeunit": {
  5125. "description": "合约单位",
  5126. "type": "number"
  5127. },
  5128. "currency": {
  5129. "description": "货币",
  5130. "type": "string"
  5131. },
  5132. "currencysign": {
  5133. "description": "货币符号",
  5134. "type": "string"
  5135. },
  5136. "decimalplace": {
  5137. "description": "报价小数位",
  5138. "type": "integer"
  5139. },
  5140. "desccityid": {
  5141. "description": "目的地(市)ID",
  5142. "type": "integer"
  5143. },
  5144. "descprovinceid": {
  5145. "description": "目的地(省)ID",
  5146. "type": "integer"
  5147. },
  5148. "goodscode": {
  5149. "description": "商品代码(内部)",
  5150. "type": "string"
  5151. },
  5152. "goodsdesc": {
  5153. "description": "商品详情",
  5154. "type": "string"
  5155. },
  5156. "goodsid": {
  5157. "description": "商品ID(自增ID SEQ_GOODS)",
  5158. "type": "integer"
  5159. },
  5160. "goodsname": {
  5161. "description": "商品名称",
  5162. "type": "string"
  5163. },
  5164. "hotindex": {
  5165. "description": "景点热度",
  5166. "type": "integer"
  5167. },
  5168. "last": {
  5169. "description": "现价",
  5170. "type": "number"
  5171. },
  5172. "limitdown": {
  5173. "description": "跌停价",
  5174. "type": "number"
  5175. },
  5176. "limitup": {
  5177. "description": "涨停价",
  5178. "type": "number"
  5179. },
  5180. "lotsize": {
  5181. "description": "手数最小变动单位",
  5182. "type": "integer"
  5183. },
  5184. "marketid": {
  5185. "description": "所属市场ID",
  5186. "type": "integer"
  5187. },
  5188. "picurls": {
  5189. "description": "介绍图片[多张用逗号分隔]",
  5190. "type": "string"
  5191. },
  5192. "quoteminunit": {
  5193. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  5194. "type": "integer"
  5195. },
  5196. "stepvalue": {
  5197. "description": "价格最小变动单位",
  5198. "type": "number"
  5199. },
  5200. "trademode": {
  5201. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5202. "type": "integer"
  5203. },
  5204. "vendorattr": {
  5205. "description": "供应商附件(多张,逗号分隔)",
  5206. "type": "string"
  5207. },
  5208. "vendorname": {
  5209. "description": "供应商名称",
  5210. "type": "string"
  5211. },
  5212. "vendorphone": {
  5213. "description": "供应商客服电话",
  5214. "type": "string"
  5215. },
  5216. "videourls": {
  5217. "description": "介绍视频[多张用逗号分隔]",
  5218. "type": "string"
  5219. }
  5220. }
  5221. },
  5222. "models.HsbyMyGoods": {
  5223. "type": "object",
  5224. "required": [
  5225. "accountid",
  5226. "goodscode",
  5227. "goodsid",
  5228. "goodsname"
  5229. ],
  5230. "properties": {
  5231. "accountid": {
  5232. "description": "账号Id",
  5233. "type": "integer"
  5234. },
  5235. "agreeunit": {
  5236. "description": "合约单位",
  5237. "type": "number"
  5238. },
  5239. "buyaverageprice": {
  5240. "description": "持仓均价",
  5241. "type": "number"
  5242. },
  5243. "buycurholderamount": {
  5244. "description": "买当前持仓总金额[商品币种]",
  5245. "type": "number"
  5246. },
  5247. "buycurpositionqty": {
  5248. "description": "买当前持仓总数量",
  5249. "type": "integer"
  5250. },
  5251. "currencysign": {
  5252. "description": "货币符号",
  5253. "type": "string"
  5254. },
  5255. "decimalplace": {
  5256. "description": "报价小数位",
  5257. "type": "integer"
  5258. },
  5259. "enableqty": {
  5260. "description": "可用数量",
  5261. "type": "integer"
  5262. },
  5263. "goodscode": {
  5264. "description": "商品代码(内部)",
  5265. "type": "string"
  5266. },
  5267. "goodsid": {
  5268. "description": "商品Id",
  5269. "type": "integer"
  5270. },
  5271. "goodsname": {
  5272. "description": "商品名称",
  5273. "type": "string"
  5274. },
  5275. "goodsstatus": {
  5276. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  5277. "type": "integer"
  5278. },
  5279. "picurls": {
  5280. "description": "介绍图片[多张用逗号分隔]",
  5281. "type": "string"
  5282. }
  5283. }
  5284. },
  5285. "models.HsbyMyPackage": {
  5286. "type": "object",
  5287. "required": [
  5288. "goodscode",
  5289. "goodsname",
  5290. "takeorderid"
  5291. ],
  5292. "properties": {
  5293. "accountid": {
  5294. "description": "账户ID",
  5295. "type": "integer"
  5296. },
  5297. "address": {
  5298. "description": "提货人详细地址",
  5299. "type": "string"
  5300. },
  5301. "agreeunit": {
  5302. "description": "合约单位",
  5303. "type": "number"
  5304. },
  5305. "amount": {
  5306. "description": "提货金额",
  5307. "type": "number"
  5308. },
  5309. "auditer": {
  5310. "description": "审核人",
  5311. "type": "integer"
  5312. },
  5313. "audittime": {
  5314. "description": "审核时间",
  5315. "type": "string"
  5316. },
  5317. "averageprice": {
  5318. "description": "均价",
  5319. "type": "number"
  5320. },
  5321. "cardnum": {
  5322. "description": "提货人证件号码",
  5323. "type": "string"
  5324. },
  5325. "cardtypeid": {
  5326. "description": "提货人证件类型",
  5327. "type": "integer"
  5328. },
  5329. "checkremark": {
  5330. "description": "审核备注",
  5331. "type": "string"
  5332. },
  5333. "currencysign": {
  5334. "description": "货币符号",
  5335. "type": "string"
  5336. },
  5337. "decimalplace": {
  5338. "description": "报价小数位",
  5339. "type": "integer"
  5340. },
  5341. "goodscode": {
  5342. "description": "商品代码(内部)",
  5343. "type": "string"
  5344. },
  5345. "goodsid": {
  5346. "description": "商品ID",
  5347. "type": "integer"
  5348. },
  5349. "goodsname": {
  5350. "description": "商品名称",
  5351. "type": "string"
  5352. },
  5353. "handlestatus": {
  5354. "description": "处理状态",
  5355. "type": "integer"
  5356. },
  5357. "marketid": {
  5358. "description": "市场ID",
  5359. "type": "integer"
  5360. },
  5361. "phonenum": {
  5362. "description": "提货人联系方式",
  5363. "type": "string"
  5364. },
  5365. "picurls": {
  5366. "description": "介绍图片[多张用逗号分隔]",
  5367. "type": "string"
  5368. },
  5369. "qty": {
  5370. "description": "提货数量",
  5371. "type": "number"
  5372. },
  5373. "recivername": {
  5374. "description": "提货人姓名",
  5375. "type": "string"
  5376. },
  5377. "reqtime": {
  5378. "description": "更新时间",
  5379. "type": "string"
  5380. },
  5381. "takemode": {
  5382. "description": "提货方式 - 2:自提 3:配送",
  5383. "type": "integer"
  5384. },
  5385. "takeorderid": {
  5386. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  5387. "type": "string"
  5388. },
  5389. "takeorderstatus": {
  5390. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5391. "type": "integer"
  5392. },
  5393. "takeremark": {
  5394. "description": "提货备注",
  5395. "type": "string"
  5396. },
  5397. "tradedate": {
  5398. "description": "交易日(yyyyMMdd)",
  5399. "type": "string"
  5400. },
  5401. "userid": {
  5402. "description": "用户ID",
  5403. "type": "integer"
  5404. },
  5405. "vendorname": {
  5406. "description": "供应商名称",
  5407. "type": "string"
  5408. }
  5409. }
  5410. },
  5411. "models.HsbyPreGoods": {
  5412. "type": "object",
  5413. "required": [
  5414. "goodscode",
  5415. "goodsid",
  5416. "goodsname",
  5417. "marketid",
  5418. "trademode"
  5419. ],
  5420. "properties": {
  5421. "agreeunit": {
  5422. "description": "合约单位",
  5423. "type": "number"
  5424. },
  5425. "currency": {
  5426. "description": "货币",
  5427. "type": "string"
  5428. },
  5429. "currencysign": {
  5430. "description": "货币符号",
  5431. "type": "string"
  5432. },
  5433. "decimalplace": {
  5434. "description": "报价小数位",
  5435. "type": "integer"
  5436. },
  5437. "enableqty": {
  5438. "description": "剩余数量",
  5439. "type": "integer"
  5440. },
  5441. "goodscode": {
  5442. "description": "商品代码(内部)",
  5443. "type": "string"
  5444. },
  5445. "goodsid": {
  5446. "description": "商品ID(自增ID SEQ_GOODS)",
  5447. "type": "integer"
  5448. },
  5449. "goodsname": {
  5450. "description": "商品名称",
  5451. "type": "string"
  5452. },
  5453. "goodsstatus": {
  5454. "description": "商品状态- 2:未上市 3:上市",
  5455. "type": "integer"
  5456. },
  5457. "lasttradedate": {
  5458. "description": "最后交易日期(状态:待退市)",
  5459. "type": "string"
  5460. },
  5461. "listingdate": {
  5462. "description": "交易开始日期",
  5463. "type": "string"
  5464. },
  5465. "marketid": {
  5466. "description": "所属市场ID",
  5467. "type": "integer"
  5468. },
  5469. "picurls": {
  5470. "description": "介绍图片[多张用逗号分隔]",
  5471. "type": "string"
  5472. },
  5473. "presaledqty": {
  5474. "description": "已预售量(预售结束时更新)",
  5475. "type": "integer"
  5476. },
  5477. "presaleqty": {
  5478. "description": "预售数量",
  5479. "type": "integer"
  5480. },
  5481. "quoteminunit": {
  5482. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  5483. "type": "integer"
  5484. },
  5485. "refprice": {
  5486. "description": "参考价格[一口价]",
  5487. "type": "number"
  5488. },
  5489. "relatedgoodsid": {
  5490. "description": "关联交易合约ID",
  5491. "type": "integer"
  5492. },
  5493. "trademode": {
  5494. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5495. "type": "integer"
  5496. },
  5497. "videourls": {
  5498. "description": "介绍视频[多张用逗号分隔]",
  5499. "type": "string"
  5500. }
  5501. }
  5502. },
  5503. "models.HsbyPreGoodsDetail": {
  5504. "type": "object",
  5505. "required": [
  5506. "goodscode",
  5507. "goodsid",
  5508. "goodsname",
  5509. "marketid",
  5510. "trademode"
  5511. ],
  5512. "properties": {
  5513. "agreeunit": {
  5514. "description": "合约单位",
  5515. "type": "number"
  5516. },
  5517. "buymaxqty": {
  5518. "description": "购买上限 [71] - 0为不限",
  5519. "type": "integer"
  5520. },
  5521. "currency": {
  5522. "description": "货币",
  5523. "type": "string"
  5524. },
  5525. "currencysign": {
  5526. "description": "货币符号",
  5527. "type": "string"
  5528. },
  5529. "customername": {
  5530. "description": "发行单位",
  5531. "type": "string"
  5532. },
  5533. "decimalplace": {
  5534. "description": "报价小数位",
  5535. "type": "integer"
  5536. },
  5537. "desccityid": {
  5538. "description": "目的地(市)ID",
  5539. "type": "integer"
  5540. },
  5541. "descprovinceid": {
  5542. "description": "目的地(省)ID",
  5543. "type": "integer"
  5544. },
  5545. "enableqty": {
  5546. "description": "剩余数量",
  5547. "type": "integer"
  5548. },
  5549. "goodscode": {
  5550. "description": "商品代码(内部)",
  5551. "type": "string"
  5552. },
  5553. "goodsdesc": {
  5554. "description": "商品详情",
  5555. "type": "string"
  5556. },
  5557. "goodsid": {
  5558. "description": "商品ID(自增ID SEQ_GOODS)",
  5559. "type": "integer"
  5560. },
  5561. "goodsname": {
  5562. "description": "商品名称",
  5563. "type": "string"
  5564. },
  5565. "goodsstatus": {
  5566. "description": "商品状态- 2:未上市 3:上市",
  5567. "type": "integer"
  5568. },
  5569. "goodunit": {
  5570. "description": "报价单位",
  5571. "type": "string"
  5572. },
  5573. "lasttradedate": {
  5574. "description": "最后交易日期(状态:待退市)",
  5575. "type": "string"
  5576. },
  5577. "listingdate": {
  5578. "description": "交易开始日期",
  5579. "type": "string"
  5580. },
  5581. "lotsize": {
  5582. "description": "手数最小变动单位",
  5583. "type": "integer"
  5584. },
  5585. "marketid": {
  5586. "description": "所属市场ID",
  5587. "type": "integer"
  5588. },
  5589. "picurls": {
  5590. "description": "介绍图片[多张用逗号分隔]",
  5591. "type": "string"
  5592. },
  5593. "presaledqty": {
  5594. "description": "已预售量(预售结束时更新)",
  5595. "type": "integer"
  5596. },
  5597. "presaleqty": {
  5598. "description": "预售数量",
  5599. "type": "integer"
  5600. },
  5601. "quoteminunit": {
  5602. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  5603. "type": "integer"
  5604. },
  5605. "refprice": {
  5606. "description": "参考价格[一口价]",
  5607. "type": "number"
  5608. },
  5609. "relatedgoodsid": {
  5610. "description": "关联交易合约ID",
  5611. "type": "integer"
  5612. },
  5613. "stepvalue": {
  5614. "description": "价格最小变动单位",
  5615. "type": "number"
  5616. },
  5617. "trademode": {
  5618. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5619. "type": "integer"
  5620. },
  5621. "vendorattr": {
  5622. "description": "供应商附件(多张,逗号分隔)",
  5623. "type": "string"
  5624. },
  5625. "vendorname": {
  5626. "description": "供应商名称",
  5627. "type": "string"
  5628. },
  5629. "vendorphone": {
  5630. "description": "供应商客服电话",
  5631. "type": "string"
  5632. },
  5633. "videourls": {
  5634. "description": "介绍视频[多张用逗号分隔]",
  5635. "type": "string"
  5636. }
  5637. }
  5638. },
  5639. "models.HsbySellMyDetail": {
  5640. "type": "object",
  5641. "required": [
  5642. "accountid",
  5643. "buyorsell",
  5644. "goodscode",
  5645. "goodsid",
  5646. "goodsname",
  5647. "marketid",
  5648. "orderid",
  5649. "qty",
  5650. "time",
  5651. "trademode"
  5652. ],
  5653. "properties": {
  5654. "accountid": {
  5655. "description": "账户ID[报价币种]",
  5656. "type": "integer"
  5657. },
  5658. "agreeunit": {
  5659. "description": "合约单位",
  5660. "type": "number"
  5661. },
  5662. "amount": {
  5663. "description": "金额 = 价格 * 数量 * 合约单位",
  5664. "type": "number"
  5665. },
  5666. "buyorsell": {
  5667. "description": "买卖 - 0:买 1:卖",
  5668. "type": "integer"
  5669. },
  5670. "currencysign": {
  5671. "description": "货币符号",
  5672. "type": "string"
  5673. },
  5674. "decimalplace": {
  5675. "description": "报价小数位",
  5676. "type": "integer"
  5677. },
  5678. "goodscode": {
  5679. "description": "商品代码(内部)",
  5680. "type": "string"
  5681. },
  5682. "goodsid": {
  5683. "description": "商品ID",
  5684. "type": "integer"
  5685. },
  5686. "goodsname": {
  5687. "description": "商品名称",
  5688. "type": "string"
  5689. },
  5690. "marketid": {
  5691. "description": "市场ID",
  5692. "type": "integer"
  5693. },
  5694. "orderid": {
  5695. "description": "单号(已发布 - 委托单号;已完成 - 成交单号)",
  5696. "type": "string"
  5697. },
  5698. "ordertype": {
  5699. "description": "单据类型:0 - 已发布, 1 - 已完成",
  5700. "type": "integer"
  5701. },
  5702. "picurls": {
  5703. "description": "介绍图片[多张用逗号分隔]",
  5704. "type": "string"
  5705. },
  5706. "price": {
  5707. "description": "价格",
  5708. "type": "number"
  5709. },
  5710. "qty": {
  5711. "description": "数量",
  5712. "type": "integer"
  5713. },
  5714. "time": {
  5715. "description": "时间",
  5716. "type": "string"
  5717. },
  5718. "trademode": {
  5719. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5720. "type": "integer"
  5721. },
  5722. "vendorname": {
  5723. "description": "供应商名称",
  5724. "type": "string"
  5725. }
  5726. }
  5727. },
  5728. "models.HsbyTopGoods": {
  5729. "type": "object",
  5730. "required": [
  5731. "goodscode",
  5732. "goodsid",
  5733. "goodsname",
  5734. "marketid",
  5735. "trademode"
  5736. ],
  5737. "properties": {
  5738. "agreeunit": {
  5739. "description": "合约单位",
  5740. "type": "number"
  5741. },
  5742. "currency": {
  5743. "description": "货币",
  5744. "type": "string"
  5745. },
  5746. "currencysign": {
  5747. "description": "货币符号",
  5748. "type": "string"
  5749. },
  5750. "decimalplace": {
  5751. "description": "报价小数位",
  5752. "type": "integer"
  5753. },
  5754. "goodscode": {
  5755. "description": "商品代码(内部)",
  5756. "type": "string"
  5757. },
  5758. "goodsid": {
  5759. "description": "商品ID(自增ID SEQ_GOODS)",
  5760. "type": "integer"
  5761. },
  5762. "goodsname": {
  5763. "description": "商品名称",
  5764. "type": "string"
  5765. },
  5766. "hotindex": {
  5767. "description": "景点热度",
  5768. "type": "integer"
  5769. },
  5770. "last": {
  5771. "description": "现价",
  5772. "type": "number"
  5773. },
  5774. "marketid": {
  5775. "description": "所属市场ID",
  5776. "type": "integer"
  5777. },
  5778. "picurls": {
  5779. "description": "介绍图片[多张用逗号分隔]",
  5780. "type": "string"
  5781. },
  5782. "quoteminunit": {
  5783. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  5784. "type": "integer"
  5785. },
  5786. "trademode": {
  5787. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5788. "type": "integer"
  5789. },
  5790. "videourls": {
  5791. "description": "介绍视频[多张用逗号分隔]",
  5792. "type": "string"
  5793. }
  5794. }
  5795. },
  5796. "models.HybsMyBuyOrderDetail": {
  5797. "type": "object",
  5798. "required": [
  5799. "accountid",
  5800. "buyorsell",
  5801. "goodscode",
  5802. "goodsid",
  5803. "goodsname",
  5804. "marketid",
  5805. "orderid",
  5806. "orderqty",
  5807. "ordertime",
  5808. "trademode"
  5809. ],
  5810. "properties": {
  5811. "accountid": {
  5812. "description": "账户ID[报价币种]",
  5813. "type": "integer"
  5814. },
  5815. "agreeunit": {
  5816. "description": "合约单位",
  5817. "type": "number"
  5818. },
  5819. "buyorsell": {
  5820. "description": "买卖 - 0:买 1:卖",
  5821. "type": "integer"
  5822. },
  5823. "cancelqty": {
  5824. "description": "撤单数量",
  5825. "type": "integer"
  5826. },
  5827. "currencysign": {
  5828. "description": "货币符号",
  5829. "type": "string"
  5830. },
  5831. "decimalplace": {
  5832. "description": "报价小数位",
  5833. "type": "integer"
  5834. },
  5835. "goodscode": {
  5836. "description": "商品代码(内部)",
  5837. "type": "string"
  5838. },
  5839. "goodsid": {
  5840. "description": "商品ID",
  5841. "type": "integer"
  5842. },
  5843. "goodsname": {
  5844. "description": "商品名称",
  5845. "type": "string"
  5846. },
  5847. "listingselecttype": {
  5848. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5849. "type": "integer"
  5850. },
  5851. "marketid": {
  5852. "description": "市场ID",
  5853. "type": "integer"
  5854. },
  5855. "mybuystatus": {
  5856. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  5857. "type": "integer"
  5858. },
  5859. "orderamount": {
  5860. "description": "委托金额",
  5861. "type": "number"
  5862. },
  5863. "orderid": {
  5864. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5865. "type": "string"
  5866. },
  5867. "orderprice": {
  5868. "description": "委托价格",
  5869. "type": "number"
  5870. },
  5871. "orderqty": {
  5872. "description": "委托数量",
  5873. "type": "integer"
  5874. },
  5875. "orderstatus": {
  5876. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  5877. "type": "integer"
  5878. },
  5879. "ordertime": {
  5880. "description": "委托时间",
  5881. "type": "string"
  5882. },
  5883. "picurls1": {
  5884. "description": "预售商品介绍图片[多张用逗号分隔]",
  5885. "type": "string"
  5886. },
  5887. "picurls2": {
  5888. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  5889. "type": "string"
  5890. },
  5891. "trademode": {
  5892. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5893. "type": "integer"
  5894. },
  5895. "tradeqty": {
  5896. "description": "成交数量",
  5897. "type": "integer"
  5898. },
  5899. "vendorname1": {
  5900. "description": "预售商品供应商名称",
  5901. "type": "string"
  5902. },
  5903. "vendorname2": {
  5904. "description": "挂牌商品供应商名称",
  5905. "type": "string"
  5906. }
  5907. }
  5908. },
  5909. "models.Messageboard": {
  5910. "type": "object",
  5911. "required": [
  5912. "messageboardid"
  5913. ],
  5914. "properties": {
  5915. "createtime": {
  5916. "description": "创建时间",
  5917. "type": "string"
  5918. },
  5919. "message": {
  5920. "description": "留言信息",
  5921. "type": "string"
  5922. },
  5923. "messageboardid": {
  5924. "description": "留言簿ID(SEQ_MessageBoard)",
  5925. "type": "integer"
  5926. },
  5927. "userid": {
  5928. "description": "用户ID",
  5929. "type": "integer"
  5930. }
  5931. }
  5932. },
  5933. "models.OperationPrimaryMenu": {
  5934. "type": "object",
  5935. "properties": {
  5936. "Children": {
  5937. "description": "二级功能菜单",
  5938. "type": "array",
  5939. "items": {
  5940. "$ref": "#/definitions/models.OperationSecondaryMenu"
  5941. }
  5942. },
  5943. "Key": {
  5944. "description": "菜单KEY",
  5945. "type": "string"
  5946. },
  5947. "Label": {
  5948. "description": "菜单标题",
  5949. "type": "string"
  5950. }
  5951. }
  5952. },
  5953. "models.OperationSecondaryMenu": {
  5954. "type": "object",
  5955. "properties": {
  5956. "Key": {
  5957. "description": "菜单KEY",
  5958. "type": "string"
  5959. },
  5960. "Label": {
  5961. "description": "菜单标题",
  5962. "type": "string"
  5963. },
  5964. "TabList": {
  5965. "description": "三级功能菜单",
  5966. "type": "array",
  5967. "items": {
  5968. "$ref": "#/definitions/models.OperationTabMenu"
  5969. }
  5970. }
  5971. }
  5972. },
  5973. "models.OperationTabMenu": {
  5974. "type": "object",
  5975. "properties": {
  5976. "Key": {
  5977. "description": "菜单KEY",
  5978. "type": "string"
  5979. },
  5980. "Label": {
  5981. "description": "菜单标题",
  5982. "type": "string"
  5983. }
  5984. }
  5985. },
  5986. "models.QuotePrimaryMenu": {
  5987. "type": "object",
  5988. "properties": {
  5989. "Index": {
  5990. "description": "序号",
  5991. "type": "integer"
  5992. },
  5993. "Key": {
  5994. "description": "键名",
  5995. "type": "string"
  5996. },
  5997. "Name": {
  5998. "description": "菜单名称",
  5999. "type": "string"
  6000. },
  6001. "SubMenus": {
  6002. "description": "子菜单",
  6003. "type": "array",
  6004. "items": {
  6005. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  6006. }
  6007. },
  6008. "SubTitleType": {
  6009. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  6010. "type": "integer"
  6011. },
  6012. "TradeModes": {
  6013. "description": "包含市场交易类型",
  6014. "type": "string"
  6015. }
  6016. }
  6017. },
  6018. "models.QuoteSecondaryMenu": {
  6019. "type": "object",
  6020. "properties": {
  6021. "ExExchangeCode": {
  6022. "description": "外部交易所代码",
  6023. "type": "string"
  6024. },
  6025. "ExExchangeID": {
  6026. "description": "外部交易所ID",
  6027. "type": "integer"
  6028. },
  6029. "GoodsGroupIDs": {
  6030. "description": "商品组ID列表",
  6031. "type": "array",
  6032. "items": {
  6033. "type": "integer"
  6034. }
  6035. },
  6036. "Index": {
  6037. "description": "序号",
  6038. "type": "integer"
  6039. },
  6040. "MarketID": {
  6041. "description": "市场ID",
  6042. "type": "integer"
  6043. },
  6044. "MenuTitle": {
  6045. "description": "菜单标题(市场名称或外部交易所名称)",
  6046. "type": "string"
  6047. },
  6048. "TradeMode": {
  6049. "description": "交易模式",
  6050. "type": "integer"
  6051. }
  6052. }
  6053. },
  6054. "models.SearchGoods": {
  6055. "type": "object",
  6056. "required": [
  6057. "goodscode",
  6058. "goodsid",
  6059. "goodsname",
  6060. "marketid",
  6061. "trademode"
  6062. ],
  6063. "properties": {
  6064. "goodscode": {
  6065. "description": "商品代码(内部)",
  6066. "type": "string"
  6067. },
  6068. "goodsid": {
  6069. "description": "商品ID(自增ID SEQ_GOODS)",
  6070. "type": "integer"
  6071. },
  6072. "goodsname": {
  6073. "description": "商品名称",
  6074. "type": "string"
  6075. },
  6076. "marketid": {
  6077. "description": "所属市场ID",
  6078. "type": "integer"
  6079. },
  6080. "marketname": {
  6081. "description": "市场名称",
  6082. "type": "string"
  6083. },
  6084. "trademode": {
  6085. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6086. "type": "integer"
  6087. }
  6088. }
  6089. },
  6090. "models.Szdz2imageconfig": {
  6091. "type": "object",
  6092. "required": [
  6093. "configid"
  6094. ],
  6095. "properties": {
  6096. "configid": {
  6097. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  6098. "type": "integer"
  6099. },
  6100. "imagepath": {
  6101. "description": "图片",
  6102. "type": "string"
  6103. },
  6104. "imagetype": {
  6105. "description": "类型 - 1:App首页轮播 2:我的",
  6106. "type": "integer"
  6107. },
  6108. "sort": {
  6109. "description": "排序",
  6110. "type": "integer"
  6111. },
  6112. "title": {
  6113. "description": "标题",
  6114. "type": "string"
  6115. },
  6116. "url": {
  6117. "description": "链接",
  6118. "type": "string"
  6119. }
  6120. }
  6121. },
  6122. "models.Szdz3convertconfig": {
  6123. "type": "object",
  6124. "required": [
  6125. "converttype",
  6126. "innergoodsid",
  6127. "outergoodscode"
  6128. ],
  6129. "properties": {
  6130. "canin": {
  6131. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  6132. "type": "integer"
  6133. },
  6134. "canout": {
  6135. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  6136. "type": "integer"
  6137. },
  6138. "converttype": {
  6139. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  6140. "type": "integer"
  6141. },
  6142. "createtime": {
  6143. "description": "创建时间",
  6144. "type": "string"
  6145. },
  6146. "creatorid": {
  6147. "description": "创建人",
  6148. "type": "integer"
  6149. },
  6150. "daymaxvalue": {
  6151. "description": "当日最大转入限制",
  6152. "type": "number"
  6153. },
  6154. "freezedays": {
  6155. "description": "冻结天数 [5:花生米转交易]",
  6156. "type": "integer"
  6157. },
  6158. "innergoodsid": {
  6159. "description": "内部商品ID[交易]",
  6160. "type": "integer"
  6161. },
  6162. "inratio": {
  6163. "description": "目标值",
  6164. "type": "integer"
  6165. },
  6166. "modifierid": {
  6167. "description": "修改人",
  6168. "type": "integer"
  6169. },
  6170. "modifytime": {
  6171. "description": "修改时间",
  6172. "type": "string"
  6173. },
  6174. "outergoodscode": {
  6175. "description": "外部商品代码[JD\\PD]",
  6176. "type": "string"
  6177. },
  6178. "outratio": {
  6179. "description": "源值",
  6180. "type": "integer"
  6181. },
  6182. "pddecimalplace": {
  6183. "description": "PD小数位",
  6184. "type": "integer"
  6185. },
  6186. "timemaxvalue": {
  6187. "description": "单次最大转入限制",
  6188. "type": "number"
  6189. },
  6190. "timeminvalue": {
  6191. "description": "单次最小转入限制",
  6192. "type": "number"
  6193. }
  6194. }
  6195. },
  6196. "models.Szdz3searchwhitelist": {
  6197. "type": "object",
  6198. "required": [
  6199. "userid"
  6200. ],
  6201. "properties": {
  6202. "createtime": {
  6203. "description": "创建时间",
  6204. "type": "string"
  6205. },
  6206. "creatorid": {
  6207. "description": "创建人",
  6208. "type": "integer"
  6209. },
  6210. "modifierid": {
  6211. "description": "修改人",
  6212. "type": "integer"
  6213. },
  6214. "modifytime": {
  6215. "description": "修改时间",
  6216. "type": "string"
  6217. },
  6218. "userid": {
  6219. "description": "用户ID",
  6220. "type": "integer"
  6221. }
  6222. }
  6223. },
  6224. "models.Tablecolumnconfig": {
  6225. "type": "object",
  6226. "required": [
  6227. "autoid"
  6228. ],
  6229. "properties": {
  6230. "aligntype": {
  6231. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  6232. "type": "integer"
  6233. },
  6234. "autoid": {
  6235. "description": "AutoID",
  6236. "type": "integer"
  6237. },
  6238. "columnfield": {
  6239. "description": "列字段",
  6240. "type": "string"
  6241. },
  6242. "columntitle": {
  6243. "description": "列Title",
  6244. "type": "string"
  6245. },
  6246. "columnwidth": {
  6247. "description": "列宽",
  6248. "type": "string"
  6249. },
  6250. "formatterstring": {
  6251. "description": "格式化字符",
  6252. "type": "string"
  6253. },
  6254. "formattertype": {
  6255. "description": "格式化类型",
  6256. "type": "string"
  6257. },
  6258. "groupname": {
  6259. "description": "表头分组名称",
  6260. "type": "string"
  6261. },
  6262. "isshow": {
  6263. "description": "是否显示 - 0:不显示 1:显示",
  6264. "type": "integer"
  6265. },
  6266. "needsummary": {
  6267. "description": "是否需要汇总 - 0:不需要 1:需要",
  6268. "type": "integer"
  6269. },
  6270. "orderindex": {
  6271. "description": "顺序",
  6272. "type": "integer"
  6273. },
  6274. "remark": {
  6275. "description": "备注",
  6276. "type": "string"
  6277. },
  6278. "summarytype": {
  6279. "description": "汇总类型 - 1:加总 2:最后一个",
  6280. "type": "integer"
  6281. },
  6282. "tablekey": {
  6283. "description": "列表Key",
  6284. "type": "string"
  6285. }
  6286. }
  6287. },
  6288. "models.Useraccount": {
  6289. "type": "object",
  6290. "required": [
  6291. "userid"
  6292. ],
  6293. "properties": {
  6294. "accountname": {
  6295. "description": "账户名称(机构名称)",
  6296. "type": "string"
  6297. },
  6298. "accountstatus": {
  6299. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  6300. "type": "integer"
  6301. },
  6302. "auditremark": {
  6303. "description": "审核备注",
  6304. "type": "string"
  6305. },
  6306. "audittime": {
  6307. "description": "审核时间",
  6308. "type": "string"
  6309. },
  6310. "audituserid": {
  6311. "description": "审核人",
  6312. "type": "integer"
  6313. },
  6314. "broker": {
  6315. "description": "所属经纪人ID",
  6316. "type": "integer"
  6317. },
  6318. "canceltime": {
  6319. "description": "销户时间",
  6320. "type": "string"
  6321. },
  6322. "canceluserid": {
  6323. "description": "销户人",
  6324. "type": "integer"
  6325. },
  6326. "createtime": {
  6327. "description": "创建时间",
  6328. "type": "string"
  6329. },
  6330. "creatorid": {
  6331. "description": "创建人",
  6332. "type": "integer"
  6333. },
  6334. "hasauth": {
  6335. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  6336. "type": "integer"
  6337. },
  6338. "isanonymous": {
  6339. "description": "是否匿名下单 - 0:否 1:是",
  6340. "type": "integer"
  6341. },
  6342. "maxinvestornum": {
  6343. "description": "最大用户数(经纪会员下投资者个数)",
  6344. "type": "integer"
  6345. },
  6346. "memberuserid": {
  6347. "description": "所属会员ID",
  6348. "type": "integer"
  6349. },
  6350. "modifierid": {
  6351. "description": "修改人",
  6352. "type": "integer"
  6353. },
  6354. "modifyremark": {
  6355. "description": "变更备注",
  6356. "type": "string"
  6357. },
  6358. "modifystatus": {
  6359. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  6360. "type": "integer"
  6361. },
  6362. "modifytime": {
  6363. "description": "修改时间",
  6364. "type": "string"
  6365. },
  6366. "parentuserid": {
  6367. "description": "所属机构ID",
  6368. "type": "integer"
  6369. },
  6370. "reckonaccountid": {
  6371. "description": "默认结算资金账号ID(机构分润使用) 作废",
  6372. "type": "integer"
  6373. },
  6374. "refercount": {
  6375. "description": "推荐总人数",
  6376. "type": "integer"
  6377. },
  6378. "refereeuserid": {
  6379. "description": "推荐人ID",
  6380. "type": "integer"
  6381. },
  6382. "refernum": {
  6383. "description": "推荐码",
  6384. "type": "string"
  6385. },
  6386. "subarealevelpath": {
  6387. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  6388. "type": "string"
  6389. },
  6390. "userid": {
  6391. "description": "用户ID",
  6392. "type": "integer"
  6393. },
  6394. "usertype": {
  6395. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  6396. "type": "integer"
  6397. }
  6398. }
  6399. },
  6400. "models.Userfavoritegoods": {
  6401. "type": "object",
  6402. "required": [
  6403. "goodsid"
  6404. ],
  6405. "properties": {
  6406. "goodsid": {
  6407. "description": "商品ID",
  6408. "type": "integer"
  6409. }
  6410. }
  6411. },
  6412. "models.Userinfo": {
  6413. "type": "object",
  6414. "required": [
  6415. "userid"
  6416. ],
  6417. "properties": {
  6418. "address": {
  6419. "description": "地址",
  6420. "type": "string"
  6421. },
  6422. "attachment1": {
  6423. "description": "附件1",
  6424. "type": "string"
  6425. },
  6426. "attachment2": {
  6427. "description": "附件2",
  6428. "type": "string"
  6429. },
  6430. "bankaccount": {
  6431. "description": "银行帐号 (加密存储)",
  6432. "type": "string"
  6433. },
  6434. "bankaccountname": {
  6435. "description": "收款人名称",
  6436. "type": "string"
  6437. },
  6438. "bankcardfrontphotourl": {
  6439. "description": "银行卡正面照地址",
  6440. "type": "string"
  6441. },
  6442. "bankid": {
  6443. "description": "银行编码",
  6444. "type": "string"
  6445. },
  6446. "bankname": {
  6447. "description": "银行名称",
  6448. "type": "string"
  6449. },
  6450. "biznature": {
  6451. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6452. "type": "integer"
  6453. },
  6454. "bizscope": {
  6455. "description": "企业经营范围(企业)",
  6456. "type": "string"
  6457. },
  6458. "cardbackphotourl": {
  6459. "description": "证件背面图片地址",
  6460. "type": "string"
  6461. },
  6462. "cardfrontphotourl": {
  6463. "description": "证件正面图片地址",
  6464. "type": "string"
  6465. },
  6466. "cardnum": {
  6467. "description": "证件号码(加密存储)",
  6468. "type": "string"
  6469. },
  6470. "cardtypeid": {
  6471. "description": "证件类型ID",
  6472. "type": "integer"
  6473. },
  6474. "cityid": {
  6475. "description": "市",
  6476. "type": "integer"
  6477. },
  6478. "company": {
  6479. "description": "公司(个人)",
  6480. "type": "string"
  6481. },
  6482. "contactname": {
  6483. "description": "联系人",
  6484. "type": "string"
  6485. },
  6486. "countryid": {
  6487. "description": "国家",
  6488. "type": "integer"
  6489. },
  6490. "createtime": {
  6491. "description": "创建时间",
  6492. "type": "string"
  6493. },
  6494. "creatorid": {
  6495. "description": "创建人",
  6496. "type": "integer"
  6497. },
  6498. "customername": {
  6499. "description": "客户名称(企业名称)",
  6500. "type": "string"
  6501. },
  6502. "districtid": {
  6503. "description": "地区",
  6504. "type": "integer"
  6505. },
  6506. "email": {
  6507. "description": "邮件(加密存储)",
  6508. "type": "string"
  6509. },
  6510. "fax": {
  6511. "description": "传真(加密存储)",
  6512. "type": "string"
  6513. },
  6514. "halfbodyphotourl": {
  6515. "description": "半身照地址",
  6516. "type": "string"
  6517. },
  6518. "hasencrypt": {
  6519. "description": "数据是否已加密 - 0:未加密 1:已加密",
  6520. "type": "integer"
  6521. },
  6522. "headurl": {
  6523. "description": "头像地址",
  6524. "type": "string"
  6525. },
  6526. "legalcardbackphotourl": {
  6527. "description": "法人身份证背面照地址",
  6528. "type": "string"
  6529. },
  6530. "legalcardfrontphotourl": {
  6531. "description": "法人身份证正面照地址",
  6532. "type": "string"
  6533. },
  6534. "legalpersonname": {
  6535. "description": "法人姓名(企业)",
  6536. "type": "string"
  6537. },
  6538. "mobile": {
  6539. "description": "手机号码(加密存储)",
  6540. "type": "string"
  6541. },
  6542. "mobile2": {
  6543. "description": "手机号码[明文-尚志]",
  6544. "type": "string"
  6545. },
  6546. "modifierid": {
  6547. "description": "修改人",
  6548. "type": "integer"
  6549. },
  6550. "modifiertime": {
  6551. "description": "修改时间",
  6552. "type": "string"
  6553. },
  6554. "needinvoice": {
  6555. "description": "是否需要发票 - 0:不需要 1:需要",
  6556. "type": "integer"
  6557. },
  6558. "nickname": {
  6559. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  6560. "type": "string"
  6561. },
  6562. "openmode": {
  6563. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  6564. "type": "integer"
  6565. },
  6566. "otherurl": {
  6567. "description": "其它图片地址[使用分号分隔]",
  6568. "type": "string"
  6569. },
  6570. "postalcode": {
  6571. "description": "邮政编码",
  6572. "type": "string"
  6573. },
  6574. "provinceid": {
  6575. "description": "省",
  6576. "type": "integer"
  6577. },
  6578. "qq": {
  6579. "description": "QQ(加密存储",
  6580. "type": "string"
  6581. },
  6582. "remark": {
  6583. "description": "备注",
  6584. "type": "string"
  6585. },
  6586. "sex": {
  6587. "description": "用户性别 0: 女 1: 男",
  6588. "type": "integer"
  6589. },
  6590. "signpdfurl": {
  6591. "description": "签约pdf文件",
  6592. "type": "string"
  6593. },
  6594. "telphone": {
  6595. "description": "联系电话(加密存储)",
  6596. "type": "string"
  6597. },
  6598. "userid": {
  6599. "description": "用户ID",
  6600. "type": "integer"
  6601. },
  6602. "userinfotype": {
  6603. "description": "用户信息类型 - 1:个人 2:企业",
  6604. "type": "integer"
  6605. },
  6606. "userstatus": {
  6607. "description": "用户状态 - 1:正常 2:注销",
  6608. "type": "integer"
  6609. },
  6610. "usertype": {
  6611. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  6612. "type": "integer"
  6613. },
  6614. "wechat": {
  6615. "description": "微信(加密存储)",
  6616. "type": "string"
  6617. },
  6618. "wskhinfo": {
  6619. "description": "开户申请信息(JSON)",
  6620. "type": "string"
  6621. }
  6622. }
  6623. },
  6624. "models.WRStandardInfo": {
  6625. "type": "object",
  6626. "required": [
  6627. "wrstandardid"
  6628. ],
  6629. "properties": {
  6630. "createtime": {
  6631. "description": "创建时间",
  6632. "type": "string"
  6633. },
  6634. "creatorid": {
  6635. "description": "创建人",
  6636. "type": "integer"
  6637. },
  6638. "deliverygoodsid": {
  6639. "description": "品种ID",
  6640. "type": "integer"
  6641. },
  6642. "deliverygoodsname": {
  6643. "description": "交割商品名称",
  6644. "type": "string"
  6645. },
  6646. "factoryitemjson": {
  6647. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  6648. "type": "string"
  6649. },
  6650. "isvalid": {
  6651. "description": "是否有效 - 0:无效 1:有效",
  6652. "type": "integer"
  6653. },
  6654. "minivalue": {
  6655. "description": "最小变动值",
  6656. "type": "integer"
  6657. },
  6658. "minivaluedp": {
  6659. "description": "最小变动值小数位",
  6660. "type": "integer"
  6661. },
  6662. "realminivalue": {
  6663. "description": "实际最小变动值",
  6664. "type": "integer"
  6665. },
  6666. "realminivaluedp": {
  6667. "description": "实际最小变动值小数位",
  6668. "type": "integer"
  6669. },
  6670. "unitid": {
  6671. "description": "单位ID",
  6672. "type": "integer"
  6673. },
  6674. "unitname": {
  6675. "description": "单位",
  6676. "type": "string"
  6677. },
  6678. "updatetime": {
  6679. "description": "更新时间",
  6680. "type": "string"
  6681. },
  6682. "updatorid": {
  6683. "description": "更新人",
  6684. "type": "integer"
  6685. },
  6686. "wrsstatus": {
  6687. "description": "状态 - 作废 - 0:未激活 1:正常",
  6688. "type": "integer"
  6689. },
  6690. "wrstandardcode": {
  6691. "description": "仓单标准代码",
  6692. "type": "string"
  6693. },
  6694. "wrstandardid": {
  6695. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  6696. "type": "integer"
  6697. },
  6698. "wrstandardname": {
  6699. "description": "仓单标准名称",
  6700. "type": "string"
  6701. }
  6702. }
  6703. },
  6704. "models.Warehouseinfo": {
  6705. "type": "object",
  6706. "required": [
  6707. "autoid",
  6708. "warehousecode"
  6709. ],
  6710. "properties": {
  6711. "address": {
  6712. "description": "详细地址",
  6713. "type": "string"
  6714. },
  6715. "areauserid": {
  6716. "description": "所属机构",
  6717. "type": "integer"
  6718. },
  6719. "autoid": {
  6720. "description": "自增ID",
  6721. "type": "integer"
  6722. },
  6723. "cityid": {
  6724. "description": "市",
  6725. "type": "integer"
  6726. },
  6727. "contactname": {
  6728. "description": "联系人",
  6729. "type": "string"
  6730. },
  6731. "contactnum": {
  6732. "description": "联系电话",
  6733. "type": "string"
  6734. },
  6735. "countryid": {
  6736. "description": "国家",
  6737. "type": "integer"
  6738. },
  6739. "createtime": {
  6740. "description": "创建时间",
  6741. "type": "string"
  6742. },
  6743. "districtid": {
  6744. "description": "区",
  6745. "type": "integer"
  6746. },
  6747. "hasvideo": {
  6748. "description": "是否有视频 - 0:无 1:有",
  6749. "type": "integer"
  6750. },
  6751. "provinceid": {
  6752. "description": "省",
  6753. "type": "integer"
  6754. },
  6755. "remark": {
  6756. "description": "审核备注",
  6757. "type": "string"
  6758. },
  6759. "videourl": {
  6760. "description": "视频地址",
  6761. "type": "string"
  6762. },
  6763. "warehousecode": {
  6764. "description": "仓库代码",
  6765. "type": "string"
  6766. },
  6767. "warehousename": {
  6768. "description": "仓库名称",
  6769. "type": "string"
  6770. },
  6771. "warehousestatus": {
  6772. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  6773. "type": "integer"
  6774. },
  6775. "warehousetype": {
  6776. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  6777. "type": "integer"
  6778. }
  6779. }
  6780. },
  6781. "order.QueryHisTradeDetailRsp": {
  6782. "type": "object",
  6783. "required": [
  6784. "accountid",
  6785. "buyorsell",
  6786. "goodsid",
  6787. "histradedate",
  6788. "marketid",
  6789. "memberuserid",
  6790. "orderid",
  6791. "tradeamount",
  6792. "tradedate",
  6793. "tradeid",
  6794. "tradeprice",
  6795. "tradeqty",
  6796. "tradetime"
  6797. ],
  6798. "properties": {
  6799. "accountid": {
  6800. "description": "账户ID[报价币种]",
  6801. "type": "integer"
  6802. },
  6803. "buildtype": {
  6804. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  6805. "type": "integer"
  6806. },
  6807. "buyorsell": {
  6808. "description": "方向 - 0:买 1:卖",
  6809. "type": "integer"
  6810. },
  6811. "charge": {
  6812. "description": "手续费",
  6813. "type": "number"
  6814. },
  6815. "closecharge": {
  6816. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  6817. "type": "number"
  6818. },
  6819. "closeexchagechargevalue": {
  6820. "description": "平仓交易所手续费设置值",
  6821. "type": "number"
  6822. },
  6823. "closefeealgorithm": {
  6824. "description": "平仓手续费收取方式 1:比率 2:固定",
  6825. "type": "integer"
  6826. },
  6827. "closememberchargevalue": {
  6828. "description": "平仓会员手续费设置值",
  6829. "type": "number"
  6830. },
  6831. "closepl": {
  6832. "description": "平仓盈亏",
  6833. "type": "number"
  6834. },
  6835. "closepl2": {
  6836. "description": "平仓盈亏[逐笔]",
  6837. "type": "number"
  6838. },
  6839. "closeqty": {
  6840. "description": "平仓数量(先建后平操作 需要记录)",
  6841. "type": "integer"
  6842. },
  6843. "creditamount": {
  6844. "description": "授信金额",
  6845. "type": "number"
  6846. },
  6847. "gcaccountid": {
  6848. "description": "账户ID[合约币种]",
  6849. "type": "integer"
  6850. },
  6851. "goodscode": {
  6852. "description": "商品代码",
  6853. "type": "string"
  6854. },
  6855. "goodsid": {
  6856. "description": "商品ID",
  6857. "type": "integer"
  6858. },
  6859. "goodsname": {
  6860. "description": "商品名称",
  6861. "type": "string"
  6862. },
  6863. "histradedate": {
  6864. "description": "历史交易日",
  6865. "type": "string"
  6866. },
  6867. "intclosepl": {
  6868. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  6869. "type": "integer"
  6870. },
  6871. "isconfirmexercise": {
  6872. "description": "是否确认行权- 0:否 1:是",
  6873. "type": "integer"
  6874. },
  6875. "ismain": {
  6876. "description": "是否主单 - 0:不是 1:是",
  6877. "type": "integer"
  6878. },
  6879. "ispreexercise": {
  6880. "description": "是否预申报- 0:否 1:是",
  6881. "type": "integer"
  6882. },
  6883. "isreckoned": {
  6884. "description": "是否结算 - 0:未结算 1:已结算",
  6885. "type": "integer"
  6886. },
  6887. "isvaliddata": {
  6888. "description": "是否有效 - 0:无效 1:有效",
  6889. "type": "integer"
  6890. },
  6891. "listingselecttype": {
  6892. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6893. "type": "integer"
  6894. },
  6895. "marketid": {
  6896. "description": "市场ID",
  6897. "type": "integer"
  6898. },
  6899. "marketname": {
  6900. "description": "市场名称",
  6901. "type": "string"
  6902. },
  6903. "matchaccountid": {
  6904. "description": "对手账号id",
  6905. "type": "integer"
  6906. },
  6907. "memberuserid": {
  6908. "description": "会员id 个人投资者 需要填写",
  6909. "type": "integer"
  6910. },
  6911. "opencharge": {
  6912. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  6913. "type": "number"
  6914. },
  6915. "openexchagechargevalue": {
  6916. "description": "建仓交易所手续费设置值",
  6917. "type": "number"
  6918. },
  6919. "openfeealgorithm": {
  6920. "description": "建仓手续费收取方式 1:比率 2:固定",
  6921. "type": "integer"
  6922. },
  6923. "openmemberchargevalue": {
  6924. "description": "建仓会员手续费设置值",
  6925. "type": "number"
  6926. },
  6927. "openqty": {
  6928. "description": "开仓数量(先建后平操作 需要记录)",
  6929. "type": "integer"
  6930. },
  6931. "optiontype": {
  6932. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6933. "type": "integer"
  6934. },
  6935. "orderid": {
  6936. "description": "委托单号",
  6937. "type": "string"
  6938. },
  6939. "performanceplanid": {
  6940. "description": "履约计划ID[期权]",
  6941. "type": "integer"
  6942. },
  6943. "performancestatus": {
  6944. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  6945. "type": "integer"
  6946. },
  6947. "preexerciseprice": {
  6948. "description": "预申报价格",
  6949. "type": "number"
  6950. },
  6951. "premium": {
  6952. "description": "权利金 - [持仓单的权利金]",
  6953. "type": "number"
  6954. },
  6955. "relatedouttradeid": {
  6956. "description": "关联外部成交单ID",
  6957. "type": "integer"
  6958. },
  6959. "status": {
  6960. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  6961. "type": "integer"
  6962. },
  6963. "tradeamount": {
  6964. "description": "成交金额[账户币种,用于所有权]",
  6965. "type": "number"
  6966. },
  6967. "tradedate": {
  6968. "description": "交易日(yyyyMMdd)",
  6969. "type": "string"
  6970. },
  6971. "tradeid": {
  6972. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6973. "type": "string"
  6974. },
  6975. "trademode": {
  6976. "description": "交易模式",
  6977. "type": "integer"
  6978. },
  6979. "tradeprice": {
  6980. "description": "成交价格",
  6981. "type": "number"
  6982. },
  6983. "tradeproperty": {
  6984. "description": "交易属性",
  6985. "type": "integer"
  6986. },
  6987. "tradeqty": {
  6988. "description": "成交数量",
  6989. "type": "integer"
  6990. },
  6991. "tradetime": {
  6992. "description": "成交时间",
  6993. "type": "string"
  6994. },
  6995. "tradetype": {
  6996. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  6997. "type": "integer"
  6998. }
  6999. }
  7000. },
  7001. "order.QueryHisTradeOrderDetailRsp": {
  7002. "type": "object",
  7003. "required": [
  7004. "accountid",
  7005. "buildtype",
  7006. "buyorsell",
  7007. "goodsid",
  7008. "histradedate",
  7009. "marketid",
  7010. "memberuserid",
  7011. "operatetype",
  7012. "orderid",
  7013. "orderqty",
  7014. "ordertime",
  7015. "pricemode",
  7016. "tradedate",
  7017. "validtype"
  7018. ],
  7019. "properties": {
  7020. "accountid": {
  7021. "description": "账户ID[报价币种]",
  7022. "type": "integer"
  7023. },
  7024. "buildtype": {
  7025. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7026. "type": "integer"
  7027. },
  7028. "buyorsell": {
  7029. "description": "买卖 - 0:买 1:卖",
  7030. "type": "integer"
  7031. },
  7032. "cancelorderid": {
  7033. "description": "撤单单号(撤单时填写)",
  7034. "type": "string"
  7035. },
  7036. "cancelqty": {
  7037. "description": "撤单数量",
  7038. "type": "integer"
  7039. },
  7040. "clientordertime": {
  7041. "description": "客户端委托时间",
  7042. "type": "string"
  7043. },
  7044. "clientticket": {
  7045. "description": "客户端流水号",
  7046. "type": "string"
  7047. },
  7048. "clienttype": {
  7049. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7050. "type": "integer"
  7051. },
  7052. "closeexchagechargevalue": {
  7053. "description": "平仓交易所手续费设置值",
  7054. "type": "number"
  7055. },
  7056. "closefeealgorithm": {
  7057. "description": "平仓手续费收取方式 1:比率 2:固定",
  7058. "type": "integer"
  7059. },
  7060. "closefreezecharge": {
  7061. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7062. "type": "number"
  7063. },
  7064. "closememberchargevalue": {
  7065. "description": "平仓会员手续费设置值",
  7066. "type": "number"
  7067. },
  7068. "closeqty": {
  7069. "description": "平仓数量(先建后平操作 需要记录)",
  7070. "type": "integer"
  7071. },
  7072. "closetradeqty": {
  7073. "description": "平仓成交数量(先建后平操作,需要记录)",
  7074. "type": "integer"
  7075. },
  7076. "closeunfreezecharge": {
  7077. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7078. "type": "number"
  7079. },
  7080. "delistingtype": {
  7081. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7082. "type": "integer"
  7083. },
  7084. "freezecharge": {
  7085. "description": "冻结手续费",
  7086. "type": "number"
  7087. },
  7088. "freezemargin": {
  7089. "description": "冻结保证金(冻结交易金额)",
  7090. "type": "number"
  7091. },
  7092. "gcaccountid": {
  7093. "description": "账户ID[合约币种]",
  7094. "type": "integer"
  7095. },
  7096. "goodscode": {
  7097. "description": "商品代码",
  7098. "type": "string"
  7099. },
  7100. "goodsid": {
  7101. "description": "商品ID",
  7102. "type": "integer"
  7103. },
  7104. "goodsname": {
  7105. "description": "商品名称",
  7106. "type": "string"
  7107. },
  7108. "histradedate": {
  7109. "description": "历史交易日",
  7110. "type": "string"
  7111. },
  7112. "isconfirmexercise": {
  7113. "description": "是否确认行权- 0:否 1:是",
  7114. "type": "integer"
  7115. },
  7116. "ispreexercise": {
  7117. "description": "是否预申报- 0:否 1:是",
  7118. "type": "integer"
  7119. },
  7120. "isvaliddata": {
  7121. "description": "是否有效 - 0:无效 1:有效",
  7122. "type": "integer"
  7123. },
  7124. "listingselecttype": {
  7125. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7126. "type": "integer"
  7127. },
  7128. "marginalgorithm": {
  7129. "description": "保证金收取方式 1:比率 2:固定",
  7130. "type": "integer"
  7131. },
  7132. "marginvalue": {
  7133. "description": "即市保证金设置值",
  7134. "type": "number"
  7135. },
  7136. "marketid": {
  7137. "description": "市场ID",
  7138. "type": "integer"
  7139. },
  7140. "marketmaxsub": {
  7141. "description": "市价最大偏移范围",
  7142. "type": "number"
  7143. },
  7144. "marketname": {
  7145. "description": "市场名称",
  7146. "type": "string"
  7147. },
  7148. "memberuserid": {
  7149. "description": "所属会员UserID",
  7150. "type": "integer"
  7151. },
  7152. "openexchagechargevalue": {
  7153. "description": "建仓交易所手续费设置值",
  7154. "type": "number"
  7155. },
  7156. "openfeealgorithm": {
  7157. "description": "建仓手续费收取方式 1:比率 2:固定",
  7158. "type": "integer"
  7159. },
  7160. "openfreezecharge": {
  7161. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7162. "type": "number"
  7163. },
  7164. "openmemberchargevalue": {
  7165. "description": "建仓会员手续费设置值",
  7166. "type": "number"
  7167. },
  7168. "openqty": {
  7169. "description": "开仓数量(先建后平操作,需要记录)",
  7170. "type": "integer"
  7171. },
  7172. "opentradeqty": {
  7173. "description": "开仓成交数量(先建后平操作,需要记录)",
  7174. "type": "integer"
  7175. },
  7176. "openunfreezecharge": {
  7177. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7178. "type": "number"
  7179. },
  7180. "operatetype": {
  7181. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7182. "type": "integer"
  7183. },
  7184. "operatorid": {
  7185. "description": "登录账号(LoginID)",
  7186. "type": "integer"
  7187. },
  7188. "optiontype": {
  7189. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7190. "type": "integer"
  7191. },
  7192. "orderid": {
  7193. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7194. "type": "string"
  7195. },
  7196. "orderprice": {
  7197. "description": "委托价格",
  7198. "type": "number"
  7199. },
  7200. "orderqty": {
  7201. "description": "委托数量",
  7202. "type": "integer"
  7203. },
  7204. "ordersrc": {
  7205. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7206. "type": "integer"
  7207. },
  7208. "orderstatus": {
  7209. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7210. "type": "integer"
  7211. },
  7212. "ordertime": {
  7213. "description": "委托时间",
  7214. "type": "string"
  7215. },
  7216. "preexerciseprice": {
  7217. "description": "预申报价格",
  7218. "type": "number"
  7219. },
  7220. "premium": {
  7221. "description": "权利金",
  7222. "type": "number"
  7223. },
  7224. "preorderid": {
  7225. "description": "关联预埋单号(止盈止损单时填写)",
  7226. "type": "string"
  7227. },
  7228. "pricemode": {
  7229. "description": "取价方式 - 1:市价 2: 限价",
  7230. "type": "integer"
  7231. },
  7232. "quoteid": {
  7233. "description": "报价单ID",
  7234. "type": "integer"
  7235. },
  7236. "relatedid": {
  7237. "description": "关联单号(交割单)",
  7238. "type": "string"
  7239. },
  7240. "retcode": {
  7241. "description": "错误代码",
  7242. "type": "integer"
  7243. },
  7244. "sessionid": {
  7245. "description": "会话ID",
  7246. "type": "integer"
  7247. },
  7248. "tradedate": {
  7249. "description": "交易日(yyyyMMdd)",
  7250. "type": "string"
  7251. },
  7252. "trademode": {
  7253. "description": "交易模式",
  7254. "type": "integer"
  7255. },
  7256. "tradeproperty": {
  7257. "description": "交易属性",
  7258. "type": "integer"
  7259. },
  7260. "tradeqty": {
  7261. "description": "成交数量",
  7262. "type": "integer"
  7263. },
  7264. "unfreezecharge": {
  7265. "description": "解冻手续费",
  7266. "type": "number"
  7267. },
  7268. "unfreezemargin": {
  7269. "description": "解冻保证金",
  7270. "type": "number"
  7271. },
  7272. "updatetime": {
  7273. "description": "更新时间",
  7274. "type": "string"
  7275. },
  7276. "uuid": {
  7277. "description": "发起端唯一id",
  7278. "type": "string"
  7279. },
  7280. "validtime": {
  7281. "description": "有效期限",
  7282. "type": "string"
  7283. },
  7284. "validtype": {
  7285. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7286. "type": "integer"
  7287. },
  7288. "volumetype": {
  7289. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7290. "type": "integer"
  7291. }
  7292. }
  7293. },
  7294. "order.QueryTradeDetailRsp": {
  7295. "type": "object",
  7296. "required": [
  7297. "accountid",
  7298. "buyorsell",
  7299. "goodsid",
  7300. "marketid",
  7301. "memberuserid",
  7302. "orderid",
  7303. "tradeamount",
  7304. "tradedate",
  7305. "tradeid",
  7306. "tradeprice",
  7307. "tradeqty",
  7308. "tradetime"
  7309. ],
  7310. "properties": {
  7311. "accountid": {
  7312. "description": "账户ID[报价币种]",
  7313. "type": "integer"
  7314. },
  7315. "buildtype": {
  7316. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  7317. "type": "integer"
  7318. },
  7319. "buyorsell": {
  7320. "description": "方向 - 0:买 1:卖",
  7321. "type": "integer"
  7322. },
  7323. "charge": {
  7324. "description": "手续费",
  7325. "type": "number"
  7326. },
  7327. "closecharge": {
  7328. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  7329. "type": "number"
  7330. },
  7331. "closeexchagechargevalue": {
  7332. "description": "平仓交易所手续费设置值",
  7333. "type": "number"
  7334. },
  7335. "closefeealgorithm": {
  7336. "description": "平仓手续费收取方式 1:比率 2:固定",
  7337. "type": "integer"
  7338. },
  7339. "closememberchargevalue": {
  7340. "description": "平仓会员手续费设置值",
  7341. "type": "number"
  7342. },
  7343. "closepl": {
  7344. "description": "平仓盈亏",
  7345. "type": "number"
  7346. },
  7347. "closepl2": {
  7348. "description": "平仓盈亏[逐笔]",
  7349. "type": "number"
  7350. },
  7351. "closeqty": {
  7352. "description": "平仓数量(先建后平操作 需要记录)",
  7353. "type": "integer"
  7354. },
  7355. "creditamount": {
  7356. "description": "授信金额",
  7357. "type": "number"
  7358. },
  7359. "gcaccountid": {
  7360. "description": "账户ID[合约币种]",
  7361. "type": "integer"
  7362. },
  7363. "goodscode": {
  7364. "description": "商品代码",
  7365. "type": "string"
  7366. },
  7367. "goodsid": {
  7368. "description": "商品ID",
  7369. "type": "integer"
  7370. },
  7371. "goodsname": {
  7372. "description": "商品名称",
  7373. "type": "string"
  7374. },
  7375. "intclosepl": {
  7376. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  7377. "type": "integer"
  7378. },
  7379. "isconfirmexercise": {
  7380. "description": "是否确认行权- 0:否 1:是",
  7381. "type": "integer"
  7382. },
  7383. "ismain": {
  7384. "description": "是否主单 - 0:不是 1:是",
  7385. "type": "integer"
  7386. },
  7387. "ispreexercise": {
  7388. "description": "是否预申报- 0:否 1:是",
  7389. "type": "integer"
  7390. },
  7391. "isreckoned": {
  7392. "description": "是否结算 - 0:未结算 1:已结算",
  7393. "type": "integer"
  7394. },
  7395. "listingselecttype": {
  7396. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7397. "type": "integer"
  7398. },
  7399. "marketid": {
  7400. "description": "市场ID",
  7401. "type": "integer"
  7402. },
  7403. "marketname": {
  7404. "description": "市场名称",
  7405. "type": "string"
  7406. },
  7407. "matchaccountid": {
  7408. "description": "对手账号id",
  7409. "type": "integer"
  7410. },
  7411. "memberuserid": {
  7412. "description": "会员id 个人投资者 需要填写",
  7413. "type": "integer"
  7414. },
  7415. "opencharge": {
  7416. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  7417. "type": "number"
  7418. },
  7419. "openexchagechargevalue": {
  7420. "description": "建仓交易所手续费设置值",
  7421. "type": "number"
  7422. },
  7423. "openfeealgorithm": {
  7424. "description": "建仓手续费收取方式 1:比率 2:固定",
  7425. "type": "integer"
  7426. },
  7427. "openmemberchargevalue": {
  7428. "description": "建仓会员手续费设置值",
  7429. "type": "number"
  7430. },
  7431. "openqty": {
  7432. "description": "开仓数量(先建后平操作 需要记录)",
  7433. "type": "integer"
  7434. },
  7435. "optiontype": {
  7436. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7437. "type": "integer"
  7438. },
  7439. "orderid": {
  7440. "description": "委托单号",
  7441. "type": "string"
  7442. },
  7443. "performanceplanid": {
  7444. "description": "履约计划ID[期权]",
  7445. "type": "integer"
  7446. },
  7447. "performancestatus": {
  7448. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  7449. "type": "integer"
  7450. },
  7451. "preexerciseprice": {
  7452. "description": "预申报价格",
  7453. "type": "number"
  7454. },
  7455. "premium": {
  7456. "description": "权利金 - [持仓单的权利金]",
  7457. "type": "number"
  7458. },
  7459. "relatedouttradeid": {
  7460. "description": "关联外部成交单ID",
  7461. "type": "integer"
  7462. },
  7463. "status": {
  7464. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  7465. "type": "integer"
  7466. },
  7467. "tradeamount": {
  7468. "description": "成交金额[账户币种,用于所有权]",
  7469. "type": "number"
  7470. },
  7471. "tradedate": {
  7472. "description": "交易日(yyyyMMdd)",
  7473. "type": "string"
  7474. },
  7475. "tradeid": {
  7476. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7477. "type": "string"
  7478. },
  7479. "trademode": {
  7480. "description": "交易模式",
  7481. "type": "integer"
  7482. },
  7483. "tradeprice": {
  7484. "description": "成交价格",
  7485. "type": "number"
  7486. },
  7487. "tradeproperty": {
  7488. "description": "交易属性",
  7489. "type": "integer"
  7490. },
  7491. "tradeqty": {
  7492. "description": "成交数量",
  7493. "type": "integer"
  7494. },
  7495. "tradetime": {
  7496. "description": "成交时间",
  7497. "type": "string"
  7498. },
  7499. "tradetype": {
  7500. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  7501. "type": "integer"
  7502. }
  7503. }
  7504. },
  7505. "order.QueryTradeOrderDetailRsp": {
  7506. "type": "object",
  7507. "required": [
  7508. "accountid",
  7509. "buildtype",
  7510. "buyorsell",
  7511. "goodsid",
  7512. "marketid",
  7513. "operatetype",
  7514. "orderqty",
  7515. "ordertime",
  7516. "pricemode",
  7517. "tradedate",
  7518. "validtype"
  7519. ],
  7520. "properties": {
  7521. "accountid": {
  7522. "description": "账户ID[报价币种]",
  7523. "type": "integer"
  7524. },
  7525. "buildtype": {
  7526. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7527. "type": "integer"
  7528. },
  7529. "buyorsell": {
  7530. "description": "买卖 - 0:买 1:卖",
  7531. "type": "integer"
  7532. },
  7533. "cancelorderid": {
  7534. "description": "撤单单号(撤单时填写)",
  7535. "type": "string"
  7536. },
  7537. "cancelqty": {
  7538. "description": "撤单数量",
  7539. "type": "integer"
  7540. },
  7541. "clienttype": {
  7542. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7543. "type": "integer"
  7544. },
  7545. "closefreezecharge": {
  7546. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7547. "type": "number"
  7548. },
  7549. "closeqty": {
  7550. "description": "平仓数量(先建后平操作 需要记录)",
  7551. "type": "integer"
  7552. },
  7553. "closetradeqty": {
  7554. "description": "平仓成交数量(先建后平操作,需要记录)",
  7555. "type": "integer"
  7556. },
  7557. "closeunfreezecharge": {
  7558. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7559. "type": "number"
  7560. },
  7561. "delistingtype": {
  7562. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7563. "type": "integer"
  7564. },
  7565. "enableqty": {
  7566. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  7567. "type": "integer"
  7568. },
  7569. "freezecharge": {
  7570. "description": "冻结手续费",
  7571. "type": "number"
  7572. },
  7573. "freezemargin": {
  7574. "description": "冻结保证金(冻结交易金额)",
  7575. "type": "number"
  7576. },
  7577. "goodscode": {
  7578. "description": "商品代码",
  7579. "type": "string"
  7580. },
  7581. "goodsid": {
  7582. "description": "商品ID",
  7583. "type": "integer"
  7584. },
  7585. "goodsname": {
  7586. "description": "商品名称",
  7587. "type": "string"
  7588. },
  7589. "listingselecttype": {
  7590. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7591. "type": "integer"
  7592. },
  7593. "marketid": {
  7594. "description": "市场ID",
  7595. "type": "integer"
  7596. },
  7597. "marketname": {
  7598. "description": "市场名称",
  7599. "type": "string"
  7600. },
  7601. "openfreezecharge": {
  7602. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7603. "type": "number"
  7604. },
  7605. "openqty": {
  7606. "description": "开仓数量(先建后平操作,需要记录)",
  7607. "type": "integer"
  7608. },
  7609. "opentradeqty": {
  7610. "description": "开仓成交数量(先建后平操作,需要记录)",
  7611. "type": "integer"
  7612. },
  7613. "openunfreezecharge": {
  7614. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7615. "type": "number"
  7616. },
  7617. "operatetype": {
  7618. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7619. "type": "integer"
  7620. },
  7621. "operatorid": {
  7622. "description": "登录账号(LoginID)",
  7623. "type": "integer"
  7624. },
  7625. "orderid": {
  7626. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7627. "type": "string"
  7628. },
  7629. "orderprice": {
  7630. "description": "委托价格",
  7631. "type": "number"
  7632. },
  7633. "orderqty": {
  7634. "description": "委托数量",
  7635. "type": "integer"
  7636. },
  7637. "ordersrc": {
  7638. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7639. "type": "integer"
  7640. },
  7641. "orderstatus": {
  7642. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7643. "type": "integer"
  7644. },
  7645. "ordertime": {
  7646. "description": "委托时间",
  7647. "type": "string"
  7648. },
  7649. "preorderid": {
  7650. "description": "关联预埋单号(止盈止损单时填写)",
  7651. "type": "string"
  7652. },
  7653. "pricemode": {
  7654. "description": "取价方式 - 1:市价 2: 限价",
  7655. "type": "integer"
  7656. },
  7657. "relatedid": {
  7658. "description": "关联单号(交割单)",
  7659. "type": "string"
  7660. },
  7661. "tradedate": {
  7662. "description": "交易日(yyyyMMdd)",
  7663. "type": "string"
  7664. },
  7665. "trademode": {
  7666. "description": "交易模式",
  7667. "type": "integer"
  7668. },
  7669. "tradeqty": {
  7670. "description": "成交数量",
  7671. "type": "integer"
  7672. },
  7673. "unfreezecharge": {
  7674. "description": "解冻手续费",
  7675. "type": "number"
  7676. },
  7677. "unfreezemargin": {
  7678. "description": "解冻保证金",
  7679. "type": "number"
  7680. },
  7681. "validtime": {
  7682. "description": "有效期限",
  7683. "type": "string"
  7684. },
  7685. "validtype": {
  7686. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7687. "type": "integer"
  7688. },
  7689. "volumetype": {
  7690. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7691. "type": "integer"
  7692. }
  7693. }
  7694. },
  7695. "order.QueryTradePositionRsp": {
  7696. "type": "object",
  7697. "required": [
  7698. "goodsid"
  7699. ],
  7700. "properties": {
  7701. "accountid": {
  7702. "description": "资金账户",
  7703. "type": "integer"
  7704. },
  7705. "agreeunit": {
  7706. "description": "合约单位",
  7707. "type": "number"
  7708. },
  7709. "averageprice": {
  7710. "description": "持仓均价",
  7711. "type": "number"
  7712. },
  7713. "buyorsell": {
  7714. "description": "方向 - 0:买 1:卖",
  7715. "type": "integer"
  7716. },
  7717. "closetotalqty": {
  7718. "description": "平仓总数量",
  7719. "type": "integer"
  7720. },
  7721. "curholderamount": {
  7722. "description": "当前持仓总金额[商品币种]",
  7723. "type": "number"
  7724. },
  7725. "curpositionqty": {
  7726. "description": "当前持仓总数量",
  7727. "type": "integer"
  7728. },
  7729. "currencyid": {
  7730. "description": "报价货币ID",
  7731. "type": "integer"
  7732. },
  7733. "curtdposition": {
  7734. "description": "期末今日头寸",
  7735. "type": "integer"
  7736. },
  7737. "decimalplace": {
  7738. "description": "报价小数位",
  7739. "type": "integer"
  7740. },
  7741. "enableqty": {
  7742. "description": "可用量",
  7743. "type": "integer"
  7744. },
  7745. "fretdposition": {
  7746. "description": "冻结今日头寸",
  7747. "type": "integer"
  7748. },
  7749. "frozenqty": {
  7750. "description": "持仓冻结数量",
  7751. "type": "integer"
  7752. },
  7753. "goodscode": {
  7754. "description": "商品代码",
  7755. "type": "string"
  7756. },
  7757. "goodsid": {
  7758. "description": "商品Id",
  7759. "type": "integer"
  7760. },
  7761. "goodsname": {
  7762. "description": "商品名称",
  7763. "type": "string"
  7764. },
  7765. "goodunit": {
  7766. "description": "报价单位",
  7767. "type": "string"
  7768. },
  7769. "goodunitid": {
  7770. "description": "报价单位ID",
  7771. "type": "integer"
  7772. },
  7773. "holderamount": {
  7774. "description": "期初持仓总金额[商品币种]",
  7775. "type": "number"
  7776. },
  7777. "marketid": {
  7778. "description": "所属市场ID",
  7779. "type": "integer"
  7780. },
  7781. "openreqqty": {
  7782. "description": "开仓申请数量(用于比较最大持仓数量)",
  7783. "type": "integer"
  7784. },
  7785. "opentotalqty": {
  7786. "description": "开仓总数量",
  7787. "type": "integer"
  7788. },
  7789. "otherfrozenqty": {
  7790. "description": "持仓其他冻结数量(交割冻结)",
  7791. "type": "integer"
  7792. },
  7793. "positionqty": {
  7794. "description": "期初持仓数量",
  7795. "type": "integer"
  7796. },
  7797. "tnqty": {
  7798. "description": "T+N冻结总量",
  7799. "type": "integer"
  7800. },
  7801. "tnusedqty": {
  7802. "description": "T+N使用量(可以使用T+N的冻结数量)",
  7803. "type": "integer"
  7804. },
  7805. "trademode": {
  7806. "description": "交易模式",
  7807. "type": "integer"
  7808. },
  7809. "usedmargin": {
  7810. "description": "占用保证金[商品币种]",
  7811. "type": "number"
  7812. }
  7813. }
  7814. },
  7815. "quote.HistoryData": {
  7816. "type": "object",
  7817. "properties": {
  7818. "c": {
  7819. "description": "收盘价",
  7820. "type": "number"
  7821. },
  7822. "h": {
  7823. "description": "最高价",
  7824. "type": "number"
  7825. },
  7826. "hv": {
  7827. "description": "持仓量",
  7828. "type": "integer"
  7829. },
  7830. "l": {
  7831. "description": "最低价",
  7832. "type": "number"
  7833. },
  7834. "o": {
  7835. "description": "开盘价",
  7836. "type": "number"
  7837. },
  7838. "s": {
  7839. "description": "结算价,日线周期(包括)以上才有",
  7840. "type": "number"
  7841. },
  7842. "ts": {
  7843. "description": "时间",
  7844. "type": "string"
  7845. },
  7846. "tt": {
  7847. "description": "总金额",
  7848. "type": "number"
  7849. },
  7850. "tv": {
  7851. "description": "总量",
  7852. "type": "integer"
  7853. }
  7854. }
  7855. },
  7856. "quote.QueryTSDataRsp": {
  7857. "type": "object",
  7858. "properties": {
  7859. "decimalPlace": {
  7860. "description": "小数位",
  7861. "type": "integer"
  7862. },
  7863. "endTime": {
  7864. "description": "结束时间",
  7865. "type": "string"
  7866. },
  7867. "goodsCode": {
  7868. "description": "商品代码",
  7869. "type": "string"
  7870. },
  7871. "historyDatas": {
  7872. "description": "历史数据",
  7873. "type": "array",
  7874. "items": {
  7875. "$ref": "#/definitions/quote.HistoryData"
  7876. }
  7877. },
  7878. "preSettle": {
  7879. "description": "昨结",
  7880. "type": "number"
  7881. },
  7882. "startTime": {
  7883. "description": "开始时间",
  7884. "type": "string"
  7885. },
  7886. "tradeDate": {
  7887. "description": "交易日",
  7888. "type": "string"
  7889. }
  7890. }
  7891. },
  7892. "szdz.QueryConvertLogRsp": {
  7893. "type": "object",
  7894. "required": [
  7895. "logid"
  7896. ],
  7897. "properties": {
  7898. "accountid": {
  7899. "description": "资金账户ID",
  7900. "type": "integer"
  7901. },
  7902. "clientticket": {
  7903. "description": "客户端流水号",
  7904. "type": "string"
  7905. },
  7906. "converttype": {
  7907. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  7908. "type": "integer"
  7909. },
  7910. "createtime": {
  7911. "description": "记账时间",
  7912. "type": "string"
  7913. },
  7914. "daymaxvalue": {
  7915. "description": "配置当日最大转入限制",
  7916. "type": "number"
  7917. },
  7918. "daymaxvalue2": {
  7919. "description": "配置当日最大转入限制(转入)",
  7920. "type": "number"
  7921. },
  7922. "goodscode": {
  7923. "description": "商品代码",
  7924. "type": "string"
  7925. },
  7926. "goodsname": {
  7927. "description": "商品名称",
  7928. "type": "string"
  7929. },
  7930. "handlestatus": {
  7931. "description": "处理状态",
  7932. "type": "integer"
  7933. },
  7934. "innergoodsid": {
  7935. "description": "内部商品ID",
  7936. "type": "integer"
  7937. },
  7938. "inratio": {
  7939. "description": "配置转入比值",
  7940. "type": "integer"
  7941. },
  7942. "invalue": {
  7943. "description": "目标值",
  7944. "type": "number"
  7945. },
  7946. "logid": {
  7947. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7948. "type": "integer"
  7949. },
  7950. "mobile": {
  7951. "description": "手机号码(加密存储)",
  7952. "type": "string"
  7953. },
  7954. "outergoodscode": {
  7955. "description": "外部商品代码[JD\\PD]",
  7956. "type": "string"
  7957. },
  7958. "outratio": {
  7959. "description": "配置转出比值",
  7960. "type": "integer"
  7961. },
  7962. "outvalue": {
  7963. "description": "源值",
  7964. "type": "number"
  7965. },
  7966. "pddecimalplace": {
  7967. "description": "PD小数位",
  7968. "type": "integer"
  7969. },
  7970. "qty": {
  7971. "description": "数量",
  7972. "type": "string"
  7973. },
  7974. "remark": {
  7975. "description": "备注",
  7976. "type": "string"
  7977. },
  7978. "sessionid": {
  7979. "description": "会话ID",
  7980. "type": "integer"
  7981. },
  7982. "timemaxvalue": {
  7983. "description": "配置单次最大转入限制",
  7984. "type": "number"
  7985. },
  7986. "timemaxvalue2": {
  7987. "description": "配置单次最大转入限制(转入)",
  7988. "type": "number"
  7989. },
  7990. "timeminvalue": {
  7991. "description": "配置单次最小数量限制",
  7992. "type": "number"
  7993. },
  7994. "timeminvalue2": {
  7995. "description": "配置单次最小数量限制(转入)",
  7996. "type": "number"
  7997. },
  7998. "tradedate": {
  7999. "description": "交易日(yyyyMMdd)",
  8000. "type": "string"
  8001. },
  8002. "userid": {
  8003. "description": "用户ID",
  8004. "type": "integer"
  8005. }
  8006. }
  8007. },
  8008. "szdz.QueryGoodsPickupRsp": {
  8009. "type": "object",
  8010. "required": [
  8011. "takeorderid"
  8012. ],
  8013. "properties": {
  8014. "accountid": {
  8015. "description": "账户ID",
  8016. "type": "integer"
  8017. },
  8018. "address": {
  8019. "description": "提货人详细地址",
  8020. "type": "string"
  8021. },
  8022. "auditer": {
  8023. "description": "审核人",
  8024. "type": "integer"
  8025. },
  8026. "audittime": {
  8027. "description": "审核时间",
  8028. "type": "string"
  8029. },
  8030. "cardnum": {
  8031. "description": "提货人证件号码",
  8032. "type": "string"
  8033. },
  8034. "cardtypeid": {
  8035. "description": "提货人证件类型",
  8036. "type": "integer"
  8037. },
  8038. "checkremark": {
  8039. "description": "审核备注",
  8040. "type": "string"
  8041. },
  8042. "goodscode": {
  8043. "description": "商品代码",
  8044. "type": "string"
  8045. },
  8046. "goodsid": {
  8047. "description": "商品ID",
  8048. "type": "integer"
  8049. },
  8050. "goodsname": {
  8051. "description": "商品名称",
  8052. "type": "string"
  8053. },
  8054. "handlestatus": {
  8055. "description": "处理状态",
  8056. "type": "integer"
  8057. },
  8058. "marketid": {
  8059. "description": "市场ID",
  8060. "type": "integer"
  8061. },
  8062. "phonenum": {
  8063. "description": "提货人联系方式",
  8064. "type": "string"
  8065. },
  8066. "qty": {
  8067. "description": "提货数量",
  8068. "type": "number"
  8069. },
  8070. "recivername": {
  8071. "description": "提货人姓名",
  8072. "type": "string"
  8073. },
  8074. "reqtime": {
  8075. "description": "更新时间",
  8076. "type": "string"
  8077. },
  8078. "takemode": {
  8079. "description": "提货方式 - 2:自提 3:配送",
  8080. "type": "integer"
  8081. },
  8082. "takeorderid": {
  8083. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  8084. "type": "string"
  8085. },
  8086. "takeorderstatus": {
  8087. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8088. "type": "integer"
  8089. },
  8090. "takeremark": {
  8091. "description": "提货备注",
  8092. "type": "string"
  8093. },
  8094. "tradedate": {
  8095. "description": "交易日(yyyyMMdd)",
  8096. "type": "string"
  8097. },
  8098. "userid": {
  8099. "description": "用户ID",
  8100. "type": "integer"
  8101. }
  8102. }
  8103. },
  8104. "szdz.QueryRecieptOrderRsp": {
  8105. "type": "object",
  8106. "properties": {
  8107. "accountName": {
  8108. "description": "所属账号名称(已脱敏)",
  8109. "type": "string"
  8110. },
  8111. "accountid": {
  8112. "description": "资金账号",
  8113. "type": "integer"
  8114. },
  8115. "buyorsell": {
  8116. "description": "方向 - 0:买 1:卖",
  8117. "type": "integer"
  8118. },
  8119. "enableqty": {
  8120. "description": "可摘数量",
  8121. "type": "integer"
  8122. },
  8123. "goodscode": {
  8124. "description": "商品代码",
  8125. "type": "string"
  8126. },
  8127. "goodsid": {
  8128. "description": "商品ID",
  8129. "type": "integer"
  8130. },
  8131. "goodsname": {
  8132. "description": "商品名称",
  8133. "type": "string"
  8134. },
  8135. "orderid": {
  8136. "description": "委托单号",
  8137. "type": "string"
  8138. },
  8139. "orderprice": {
  8140. "description": "委托价格",
  8141. "type": "number"
  8142. },
  8143. "tradedate": {
  8144. "description": "交易日(yyyyMMdd)",
  8145. "type": "string"
  8146. }
  8147. }
  8148. },
  8149. "szdz.QuerySZDZTradePositionRsp": {
  8150. "type": "object",
  8151. "properties": {
  8152. "accountid": {
  8153. "description": "账号Id",
  8154. "type": "integer"
  8155. },
  8156. "agreeunit": {
  8157. "description": "合约单位",
  8158. "type": "number"
  8159. },
  8160. "averageprice": {
  8161. "description": "持仓均价",
  8162. "type": "number"
  8163. },
  8164. "buyorsell": {
  8165. "description": "方向 - 0:买 1:卖",
  8166. "type": "integer"
  8167. },
  8168. "closetotalqty": {
  8169. "description": "平仓总数量",
  8170. "type": "integer"
  8171. },
  8172. "curholderamount": {
  8173. "description": "当前持仓总金额",
  8174. "type": "number"
  8175. },
  8176. "curpositionqty": {
  8177. "description": "当前持仓总数量",
  8178. "type": "integer"
  8179. },
  8180. "currencyid": {
  8181. "description": "报价货币ID",
  8182. "type": "integer"
  8183. },
  8184. "curtdposition": {
  8185. "description": "期末今日头寸",
  8186. "type": "integer"
  8187. },
  8188. "decimalplace": {
  8189. "description": "报价小数位",
  8190. "type": "integer"
  8191. },
  8192. "enableqty": {
  8193. "description": "可用量",
  8194. "type": "integer"
  8195. },
  8196. "fretdposition": {
  8197. "description": "冻结今日头寸",
  8198. "type": "integer"
  8199. },
  8200. "frozenqty": {
  8201. "description": "持仓冻结数量",
  8202. "type": "integer"
  8203. },
  8204. "goodscode": {
  8205. "description": "商品代码(内部)",
  8206. "type": "string"
  8207. },
  8208. "goodsid": {
  8209. "description": "商品Id",
  8210. "type": "integer"
  8211. },
  8212. "goodsname": {
  8213. "description": "商品名称",
  8214. "type": "string"
  8215. },
  8216. "goodunit": {
  8217. "description": "报价单位",
  8218. "type": "string"
  8219. },
  8220. "goodunitid": {
  8221. "description": "报价单位ID",
  8222. "type": "integer"
  8223. },
  8224. "holderamount": {
  8225. "description": "期初持仓总金额",
  8226. "type": "number"
  8227. },
  8228. "marketid": {
  8229. "description": "市场ID",
  8230. "type": "integer"
  8231. },
  8232. "openreqqty": {
  8233. "description": "开仓申请数量",
  8234. "type": "integer"
  8235. },
  8236. "opentotalqty": {
  8237. "description": "开仓总数量",
  8238. "type": "integer"
  8239. },
  8240. "otherfrozenqty": {
  8241. "description": "持仓其他冻结数量(交割冻结)",
  8242. "type": "integer"
  8243. },
  8244. "positionqty": {
  8245. "description": "期初持仓数量",
  8246. "type": "integer"
  8247. },
  8248. "szdz3freezqty": {
  8249. "description": "尚志大宗转换冻结总数量",
  8250. "type": "integer"
  8251. },
  8252. "tnqty": {
  8253. "description": "T+N冻结总量",
  8254. "type": "integer"
  8255. },
  8256. "tnusedqty": {
  8257. "description": "T+N使用量",
  8258. "type": "integer"
  8259. },
  8260. "trademode": {
  8261. "description": "交易模式",
  8262. "type": "integer"
  8263. },
  8264. "usedmargin": {
  8265. "description": "占用保证金",
  8266. "type": "number"
  8267. }
  8268. }
  8269. },
  8270. "taaccount.QueryAmountLogRsp": {
  8271. "type": "object",
  8272. "required": [
  8273. "accountid",
  8274. "amount",
  8275. "amountadjusttype",
  8276. "autoid",
  8277. "balance",
  8278. "createtime",
  8279. "currentbalance",
  8280. "operatetype"
  8281. ],
  8282. "properties": {
  8283. "OPERATETYPENAME": {
  8284. "description": "资金操作类型名称",
  8285. "type": "string"
  8286. },
  8287. "accountid": {
  8288. "description": "资金账户ID",
  8289. "type": "integer"
  8290. },
  8291. "agoodscode": {
  8292. "description": "竞拍商品代码",
  8293. "type": "string"
  8294. },
  8295. "agoodsname": {
  8296. "description": "竞拍商品名称",
  8297. "type": "string"
  8298. },
  8299. "amount": {
  8300. "description": "资金金额",
  8301. "type": "number"
  8302. },
  8303. "amountadjusttype": {
  8304. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  8305. "type": "integer"
  8306. },
  8307. "autoid": {
  8308. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  8309. "type": "integer"
  8310. },
  8311. "balance": {
  8312. "description": "期初余额",
  8313. "type": "number"
  8314. },
  8315. "businesscode": {
  8316. "description": "业务编号",
  8317. "type": "integer"
  8318. },
  8319. "createtime": {
  8320. "description": "发生时间",
  8321. "type": "string"
  8322. },
  8323. "currencyid": {
  8324. "description": "币种ID",
  8325. "type": "integer"
  8326. },
  8327. "currentbalance": {
  8328. "description": "期末余额(变动后金额)",
  8329. "type": "number"
  8330. },
  8331. "dgoodscode": {
  8332. "description": "交割商品代码",
  8333. "type": "string"
  8334. },
  8335. "dgoodsname": {
  8336. "description": "交割商品名称",
  8337. "type": "string"
  8338. },
  8339. "goodscode": {
  8340. "description": "商品代码",
  8341. "type": "string"
  8342. },
  8343. "goodsid": {
  8344. "description": "商品ID",
  8345. "type": "integer"
  8346. },
  8347. "goodsname": {
  8348. "description": "商品名称",
  8349. "type": "string"
  8350. },
  8351. "marketid": {
  8352. "description": "市场ID",
  8353. "type": "integer"
  8354. },
  8355. "marketname": {
  8356. "description": "市场名称",
  8357. "type": "string"
  8358. },
  8359. "moneyticket": {
  8360. "description": "资金流水号:银行端流水号",
  8361. "type": "integer"
  8362. },
  8363. "operatetype": {
  8364. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  8365. "type": "integer"
  8366. },
  8367. "relationorderid": {
  8368. "description": "关联单号",
  8369. "type": "string"
  8370. },
  8371. "remark": {
  8372. "description": "备注",
  8373. "type": "string"
  8374. },
  8375. "trademode": {
  8376. "description": "交易模式",
  8377. "type": "integer"
  8378. }
  8379. }
  8380. },
  8381. "taaccount.QueryHisAmountLogRsp": {
  8382. "type": "object",
  8383. "required": [
  8384. "accountid",
  8385. "amount",
  8386. "amountadjusttype",
  8387. "autoid",
  8388. "balance",
  8389. "createtime",
  8390. "currentbalance",
  8391. "histradedate",
  8392. "operatetype"
  8393. ],
  8394. "properties": {
  8395. "OPERATETYPENAME": {
  8396. "description": "资金操作类型名称",
  8397. "type": "string"
  8398. },
  8399. "accountid": {
  8400. "description": "资金账户ID",
  8401. "type": "integer"
  8402. },
  8403. "agoodscode": {
  8404. "description": "竞拍商品代码",
  8405. "type": "string"
  8406. },
  8407. "agoodsname": {
  8408. "description": "竞拍商品名称",
  8409. "type": "string"
  8410. },
  8411. "amount": {
  8412. "description": "资金金额",
  8413. "type": "number"
  8414. },
  8415. "amountadjusttype": {
  8416. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  8417. "type": "integer"
  8418. },
  8419. "autoid": {
  8420. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  8421. "type": "integer"
  8422. },
  8423. "balance": {
  8424. "description": "期初余额",
  8425. "type": "number"
  8426. },
  8427. "businesscode": {
  8428. "description": "业务编号",
  8429. "type": "integer"
  8430. },
  8431. "createtime": {
  8432. "description": "发生时间",
  8433. "type": "string"
  8434. },
  8435. "currencyid": {
  8436. "description": "币种ID",
  8437. "type": "integer"
  8438. },
  8439. "currentbalance": {
  8440. "description": "期末余额(变动后金额)",
  8441. "type": "number"
  8442. },
  8443. "dgoodscode": {
  8444. "description": "交割商品代码",
  8445. "type": "string"
  8446. },
  8447. "dgoodsname": {
  8448. "description": "交割商品名称",
  8449. "type": "string"
  8450. },
  8451. "goodscode": {
  8452. "description": "商品代码",
  8453. "type": "string"
  8454. },
  8455. "goodsid": {
  8456. "description": "商品ID",
  8457. "type": "integer"
  8458. },
  8459. "goodsname": {
  8460. "description": "商品名称",
  8461. "type": "string"
  8462. },
  8463. "histradedate": {
  8464. "description": "历史交易日",
  8465. "type": "string"
  8466. },
  8467. "isvaliddata": {
  8468. "description": "是否有效 - 0:无效 1:有效",
  8469. "type": "integer"
  8470. },
  8471. "marketid": {
  8472. "description": "市场ID",
  8473. "type": "integer"
  8474. },
  8475. "marketname": {
  8476. "description": "市场名称",
  8477. "type": "string"
  8478. },
  8479. "moneyticket": {
  8480. "description": "资金流水号:银行端流水号",
  8481. "type": "integer"
  8482. },
  8483. "operatetype": {
  8484. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  8485. "type": "integer"
  8486. },
  8487. "relationorderid": {
  8488. "description": "关联单号",
  8489. "type": "string"
  8490. },
  8491. "remark": {
  8492. "description": "备注",
  8493. "type": "string"
  8494. },
  8495. "trademode": {
  8496. "description": "交易模式",
  8497. "type": "integer"
  8498. }
  8499. }
  8500. }
  8501. },
  8502. "securityDefinitions": {
  8503. "ApiKeyAuth": {
  8504. "type": "apiKey",
  8505. "name": "Authorization",
  8506. "in": "header"
  8507. }
  8508. }
  8509. }